-
Install [nodejs] [1]
-
It comes with [npm] [2]
-
Install [gulp] [3] :
sudo npm install -g gulp
-
You can install from the base dir :
npm install
-
npm install reads package.json and generates the directory node_modules
-
You can always update your project dependencies :
npm update
Gulp tasks are run from this base dir.
If you wanna serve the built version on dev mode :
gulp serve
If you wanna serve the built version on production mode :
gulp serve:dist
If you wanna launch unit tests with Karma :
gulp test
If you wanna launch unit tests with Karma in watch mode :
gulp test:dev
If you wanna launch e2e (end to end) tests with Protractor :
gulp protractor
If you wanna launch e2e tests with Protractor on the dist files :
gulp protractor:dist
Tested and approved with the marvelous [BrowserStack platform](https://www.browserstack.com)
[1]: http://nodejs.org [2]: http://npmjs.org [3]: https://github.com/gulpjs/gulp [4]: http://gulpjs.com