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 Mar 2, 2015 · 11 revisions

Workflow

Development

$ gulp frontend:bundle-vendors # repeat at any vendor change
$ gulp                         # nodemon, watches, etc. *
$ gulp devel                   # gulp dist + 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

Deployment

$ 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

$ npm install -- installs locally according to package.json $ npm install

$ 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 --save $ npm update --save -g

$ run fixes if needed: $ bin/fixes/<script>

Update NPM itself

$ su

Clone this wiki locally