Simple, minimalistic project template to start coding in TypeScript.
- Webpack build using Babel with @babel/preset-typescript. Build is an umd module (lib can be imported by consumer with es6 or CommonJS imports).
- ESLint using @typescript-eslint plugin with airbnb-base ruleset.
- Unit tests with Karma runner, Mocha framework, Chai assertion library, Sinon spies and Istanbul coverage reporter.
clean
- removesdist
folderbuild
- webpack build in development modebuild:production
- webpack build in production modetest
- runs unit testslint
- runs eslint
git clone https://github.com/martinsuba/typescript-boilerplate
cd typescript-boilerplate
npm install