Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

Workflow

Ivan Kleshnin edited this page Sep 9, 2015 · 11 revisions

NPM

$ npm install               -- installs locally according to package.json
$ npm install <package>
$ npm install --production  -- (TODO split to dev & prod sections)

$ npm install webpack -g    -- installs globally according to package.json
$ npm install babel -g
$ npm install bower -g
$ npm install browserify -g
$ npm install watchify -g
$ npm install jshint -g

$ npm outdated
$ npm outdated -g

$ npm update <package> --save
$ npm update <package> --save -g

Update NPM itself

$ su <password>
# curl -L https://npmjs.com/install.sh | sh
Clone this wiki locally