This repository has been archived by the owner on May 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
Workflow
Ivan Kleshnin edited this page Mar 2, 2015
·
11 revisions
$ gulp # nodemon, watches, etc. *
$ gulp frontend:bundle-vendors # repeat at any vendor change
$ gulp dist # dist all, exits on first error (use for precommit builds)
$ gulp devel # dist all + gulp (*)
$ git commit
$ bin/commit [--bin] [<git-commit-params>] -- git stash, gulp dist, git commit, git unstash
-- to run tests against commit state, not working dir
$ bin/stage -- (TODO should require empty git status) git push, bin/remote/deploy
$ bin/release -- (TODO should require empty git status) gulp release, git push, bin/remote/deploy
$ npm install -- installs locally according to package.json
$ npm install <package>
$ npm install gulp -g -- installs globally according to package.json
$ npm install babel -g
$ npm install bower -g
$ npm install browserify -g
$ npm install watchify -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
$ bin/fixes/globule # remove stale lodash
$ bin/fixes/gulp # shebang: node -> babel-node