-
Notifications
You must be signed in to change notification settings - Fork 0
Project Build
Bogdan Dorca edited this page Oct 20, 2015
·
1 revision
-
noflag
- builds the project for development and starts the server.
-
--production
- builds the project for production and starts the server
-
--browse
- opens the project in your default browser after the build is complete
Includes:
Removes the built files (e.g. app.min.js or global.css).
Runs JSHint for all the project's files.
-
noflag
- concatenates the client JS files into app.js.
- reloads the browser window
-
--production
- concatenates the client JS files into app.min.js.
- removes the debug specific functions (e.g. console.log())
- uglifies the files
- reloads the browser window
-
noflag
- compiles and merges the Sass files into global.css
- autoprefixes the CSS rules
- reloads the browser window
-
--production
- compiles and merges the Sass files into global.min.css
- autoprefixes the CSS rules
- minfies the CSS
- reloads the browser window
Injects the local CSS, JS and bower into the template.
Runs nodemon.
In order to run the test suite, you'll need Karma
- Karma - npm install -g karma-cli
-
noflag
- continuously runs the test suite on every client JS change
-
--once
- runs the test suite only once