ng2ninja

CLI for the exercises from the ebook "Become a ninja with Angular"

Usage no npm install needed!

<script type="module">
  import ng2ninja from 'https://cdn.skypack.dev/ng2ninja';
</script>

README

ng2ninja

Node module used to compute and submit score to 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