This is just a test project to share with colleagues where we discuss various potential solutions in our future with Typescript :-)
To use Yarn package manager run npm install -g yarn
(highly recommended).
Then just run yarn
.
yarn test
(npm test
) runs tests and watches for changes
yarn test:single
(npm run test:single
) runs tests once (without watching)
yarn lint
(npm run lint
) runs linter
(yarn build
or npm run build
) creates distribution bundle
yarn commit
(npm run commit
) runs linter and forces the user to write commit message according to AngularJS's commit message convention
git push
runs tests, linter and then pushes changes to GitHub repository