A sample node project on typescript with tslint (and trucknet tslint config), prettier, lint-staged, commitizen, jest, ts-jest, jest-coverage-badges preinstalled and preconfigured.
git clone
this repositoryrm -rf .git
git init
git remote add origin
git flow init
- Edit package.json to change name, description and git repository
npm run build
to build js, npm start
to start
npm test
to launch all tests.
Unit tests should be near the file with .spec.ts
extention.
Integration tests should be in tests
npm test patch/minor/major
will start a release/ branch (using git flow), edit package.json (and lock) to update the version, commit, finish the release and push including all branches and tags