Skip to main content

39 docs tagged with "Npm"

View All Tags

!flow publish pkg to npmjs registry

!flow publish pkg to npmjs registry. Topics on: must make sure package name is unique, must specify which files we wish to publish in package.json under 'files'

(for CLI app) add 'bin' config

(for CLI app) add 'bin' config. Topics on: need to swhich file to run when user executes from terminal, add to package.json: 'bin': 'dist/index.js, add to top o

Add prePublishOnly script

Add prePublishOnly script. Topics on: 'prepublishOnly': 'npm run build', 'prepublishOnly': 'tsc'. Read more: JS, Nodejs, Npm|FullStack Wiki by Roger J

autoprefixer

autoprefixer is defined as: npm PostCSS Plugin to parse CSS & handle Vendor Prefix. Topics on: . Read more: CSS, CSS Stack, Post CSS, Post CSS Plugin, Autoprefi

entry point

entry point is defined as: to set default file to run when start App (usually index.js). Topics on: . Read more: JS, Nodejs, Npm, Packagejson, Main, Entry Point

extra steps for Lerna Project

extra steps for Lerna Project. Topics on: remove git from sub package dir: rm -f .git, doesn't work on windows?! use rmdir .git instead?, default CRA creates gi

Firebase CLI

Firebase CLI is defined as: firebase-tools CLI Dev tool to manage Firebase from Terminal - run as .exe or npm -g Machine Code. Topics on: firebase login, fireb

firebase-tools

firebase-tools is defined as: Firebase CLI Dev tool npm. Topics on: . Read more: Dev Tool, API, Online API, Firebase, Firebase Tools, Firebase CLI, Npm|Dev Wiki

main

main is defined as: sets Module file as entry point for Package - usually index.js. Topics on: avoid setting entry file as TS which can not be used by JS only p

Manifest

Manifest is defined as: metadata file often incl with Package. Topics on: . Read more: JS, Nodejs, Npm, Package Manager, Package, Manifest |FullStack Wiki by RJ

name

name is defined as: name of Package. Topics on: must be less than 214 chars, must have no spaces, [a-z_-], can contain lowercase letters, hypen (-) or underscor

npm

npm is defined as: Package Manager CLI Dev tool to access/manage Module from npmjs. Topics on: included with Node.js, Package Manager, package.json, npx, nvm, N

NPM Alternatives

NPM Alternatives. Topics on: yarn, npm vs yarn, pnpm. Read more: JS, Nodejs, Npm, NPM Alternatives|FullStack Wiki by Roger J

NPM Commands

NPM Commands. Topics on: --save, npm config delete proxy, npm config list, npm view PACKAGEreturns a link to src:. Read more: JS, Nodejs, Npm, NPM Commands|Wiki

npm config delete proxy

npm config delete proxy is defined as: to fix ETIMEOUT when unable to run npm i due to connection problems (proxy, dns, etc) - or better yet just use yarn inste

npm semantic versioning

npm semantic versioning. Topics on: ^, ~, *. Read more: JS, Nodejs, Npm|FullStack Wiki by Roger J

npm vs yarn

npm vs yarn. Topics on: work on same package repo, yarn handles dedupe by default, as per resolution checks during install cmd. Read more: JS, Nodejs, Npm, NPM

npx

npx is defined as: npm Package Runner sub-tool to execute Package w/o global install. Topics on: Package Runner. Read more: JS, Nodejs, Npm, Npx, Package Runner

nvm

nvm is defined as: Dev tool to run multiple versions of Node.js on same OS. Topics on: . Read more: JS, Nodejs, Npm, Nvm, Dev Tool, Node Js, OS | FullStack Wiki

opt-in to publish public

opt-in to publish public. Topics on: npm default set to publish pkg to private, in package.json set field: 'publishConfig': { 'access': 'public' }, a public pac

Package

Package is defined as: archived file format, typically including a Manifest (ie package.json). Topics on: Manifest, Package get installed inside node_modules/

Package Manager

Package Manager is defined as: Dev tool to auto install/update/remove Package & Dependency. Topics on: Package. Read more: JS, Nodejs, Npm, Package Manager, Dev

package name patterns

package name patterns. Topics on: scoped name with @scope/my-pkg-name; or @_my_organisation, need to add organization on npmjs, creates link at https. Read more

Package Runner

Package Runner. Topics on: . Read more: JS, Nodejs, Npm, Npx, Package Runner|FullStack Wiki by Roger J

package-lock.json

package-lock.json is defined as: . Topics on: . Read more: JS, Nodejs, Npm, Packagejson|FullStack Wiki by Roger J

package.json

package.json is defined as: Manifest to def project Metadata, Dependency & scripts. Topics on: package-lock.json, dependency, name, version, description, main,

pnpm

pnpm is defined as: Package Manager to minimize disk space via Symbolic Link . !shit not worth it!!. Topics on: pnpm import, pnpm-lock.yaml, pnpm add -g pnpm, p

pnpm-lock.yaml

pnpm-lock.yaml. Topics on: . Read more: JS, Nodejs, Npm, NPM Alternatives, Pnpm|FullStack Wiki by Roger J

scripts

scripts is defined as: to set commands to execute via npm run. Topics on: &, &&. Read more: JS, Nodejs, Npm, Packagejson, Scripts|FullStack Wiki by Roger J

Semantic Versioning

Semantic Versioning. Topics on: all node package versions are of format: XX:YY:ZZ, major version, minor version, patch version. Read more: JS, Nodejs, Npm, Pack

sort deps

sort deps. Topics on: into 'dependencies' | 'devDependencies', can rename all Dependency of CRA to devDependencies when only serve build. Read more: JS, Nodejs,

tailwindcss-cli

tailwindcss-cli is defined as: npm CLI Dev tool to run PostCSS to Preprocessor/Tree Shaking CSS. Topics on: tailwindcss-cli build _input.css -o _output.css, 404

UNPKG

UNPKG is defined as: CDN for npm Package, use to bypass CORS. Topics on: UNPKG open source project - GitHub - mjackson/unpkg: The CDN for everything on npm, Loa

version

version is defined as: current version, follows Semantic Versioning for Version Management. Topics on: Semantic Versioning. Read more: JS, Nodejs, Npm, Packagej

yarn

yarn is defined as: Package Manager, faster than npm, more reliable for old projects, prettier CLI ASCII art UI, by FB. Update: it's better than npm for sure!.

yarn 3.2

yarn 3.2 is defined as: yarnpkg.dev/. Topics on: PnP. Read more: JS, Nodejs, Npm, NPM Alternatives, Yarn|FullStack Wiki by Roger J

yarn add

yarn add is defined as: to add module. Topics on: yarn add PKG@latest. Read more: JS, Nodejs, Npm, NPM Alternatives, Yarn, Yarn CLI Cmd |FullStack Wiki by Roger

yarn CLI cmd

yarn CLI cmd. Topics on: yarn add, yarn create react-app, yarn help, yarn init, yarn remove, yarn run, yarn storybook, yarn test --watchAll, yarn upgrade. Read

yarn upgrade

yarn upgrade is defined as: to update Module to their range set by internal package.json. Topics on: yarn upgrade-interactive --latest. Read more: JS, Nodejs, N