A tree-shakable typeScript library boilerplate
A simple tree-shakable TypeScript library boilerplate
Just clone it and use it.
yarn test // run test(mocha) and coverage report(nyc)
yarn test:watch // run test on watch mode (without coverage report)
yarn build // build for both esm (ES5 + ES2015 module) and ES5 UMD bundle, at dist folder.
yarn lint // run lint against lib and test
This boilerplate use Mocha as test framework. Wallaby.js is just supplementary for development. Delete the wallaby.js if you don't want to use it.
http://blog.mgechev.com/2017/01/21/distributing-an-angular-library-aot-ngc-types
Welcome for PR
MIT