#Basic typescript setup
This setup includes:
- Typescript (configured with strict checking)
- Node
- Mocha / Chai / Sinon / Sinon-chai for unit tests (configured in should mode)
- Istanbul for code coverage
- Tslint for code linting
Simply run the setup.sh. It is self-explanatory
build: build typescript withtscrun: runs code with entry pointdist/main.tstest: test code with mocha and*.spec.tsfilescheck:coverage: check whether coverage is sufficientreport:coverage: generate coverage reporttest:coverage: test code, generate coverage report, and check whether coverage is sufficient
Not all folders exist yet, but they will be created when needed
.git: git configuration.nyc_coverage: istanbul cachecoverage: code coverage statistics as static htmldist: compiled typescript, without.spec.tsfilesnode_modules: node library rootspec: helper files for testsspec/common: non-code files used for testingsrc: root for source and tests