# ng2ninja

Node module used to compute and submit score to
[angular-exercises.ninja-squad.com](http://angular-exercises.ninja-squad.com)

## Build

Run:

    npm run build

Lint:

    npm run lint

Test:

    npm run test tests

Integration test (builds a CLI app and test it with the local ng2ninja build):

    npm run test integration

## Test locally

To use the current dev version in ponyracer:

    rm -rf dist
    npm run build
    npm link

Then in ponyracer:

    npm link ng2ninja
    npm run ng2ninja

## Release

    git fetch
    git checkout master
    git reset --hard origin/master
    rm -rf dist
    npm run build
    npm version patch
    git push --tags
    npm publish
