The project skeleton integrates:
- npm
- gulp
- typescript
- mocha
- chai
- nyc / istanbul
- tslint
gulp clean
- delete all build artefactsgulp build
- transpile all .ts files ({src,test}/**/*.ts -> build)gulp test
- runstest:tslint
andtest:coverage
gulp test:spec
- run mocha testsgulp test:coverage
- runtest:spec
and generate reporting for.ts
filesgulp test:tslint
- runtslint
gulp tdd
- watches and runstest:coverage
in a loop
- Install gulp-cli globally via
npm install gulp-cli -g
- clone the repo
git clone https://github.com/mlessnau/node-ts-skeleton.git
- run the install script
node-ts-skeleton/install.sh <dir>
(replace<dir>
with the target directory of your project) - change the details in the
<dir>/package.json
file