alexjoverm / typescript-library-starter

Starter kit with zero-config for building a library in TypeScript, featuring RollupJS, Jest, Prettier, TSLint, Semantic Release, and more!
MIT License
4.37k stars 493 forks source link

Move coverage option from package.json to npm scripts with --coverage #254

Closed Toilal closed 5 years ago

Toilal commented 5 years ago

As code coverage seems to break sourcemaps line numbers, this change moves the coverage option from package.json Jest config to npm script --coverage flag for IDE debugging to work as expected.

Close #171

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 6ecaa0c962bf6d95c96f846ff42642c1d5840297 on Toilal:coverage-ide-debug into 8a233f85513722728e71ac81d924df44ab56e054 on alexjoverm:master.