This Angular seed provides the basics for quickly bootstrapping your angular project.
git clone https://github.com/amumei/angular-seed.git
Start
npm start
This fires the default grunt task and starts the node server.
Run tests
npm test
Test coverage is generated when running this command and is available in the generated /coverage
directory.
Frameworks | Development | Testing |
---|---|---|
AngularJS (duh) | grunt | karma |
ui-router | express.js | karma-coverage |
node.js & npm | karma-jasmine | |
bower |
The default grunt task:
- Removes all
.min.js
&.map
files - Minifies all
.js
files into 2 files:
module-init.min.js
(from*.module.js
)prod.min.js
(from*.js
excluding*.module.js
)
- Compiles all
.scss
files tomain.css
- Watches for changes in all
.css
&.js
files