If you are thinking about making Karma better, or you just want to hack on it, that’s great here are some tips to get you started.
Clone your fork
Install dependencies via
$ npm install
Install global dependencies via
$ npm install grunt-cli -g
Checkout a new branch (usually based on master
) and name it accordingly to what
you intend to do
feature-
fix-
docs-
Run the tests via
# All tests
$ grunt test
$ grunt test:unit
$ grunt test:e2e
$ grunt test:client
Lint the files via
$ grunt lint
Build the project via
$ grunt build
The default task, just calling grunt
will run build lint test
.
If grunt fails, make sure grunt-0.4x is installed: https://github.com/gruntjs/grunt/wiki/Getting-started.
master
branch.