1.1.0 • Published 10 years ago
angular-karma-boilerplate v1.1.0
A basic AngularJS boilerplate

A basic template with
- Different folders for staging and production
grunt compilefor one minified JavaScript file for production- ImmutableJS library for immutable data
- Headless browser testing with PhantomJS
- Jasmine testing framework
- AngularJS style guide and patterns implemented
- Multiple language support
Install either via
git clone git@github.com:gruberb/angular-boilerplate.gitcd angular-boilerplatesudo npm -g install grunt-cli karmanpm install
or via
npm install angular-karma-boilerplate
Run
grunt serve
Open a browser and navigate to localhost:9001
Coverage
To see the coverage report navigate to coverage folder created by grunt serve, build or compile, and locate index.html file.
Build process
Staging
grunt build for not minified version to debug in the browser
Production
grunt compile for creating a bin folder with one minified JavaScript file for production
For compiling the langauge files you need to add them to list in Gruntfile config under jsonmin->locale->files