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:tslintandtest:coveragegulp test:spec- run mocha testsgulp test:coverage- runtest:specand generate reporting for.tsfilesgulp test:tslint- runtslintgulp tdd- watches and runstest:coveragein 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.jsonfile