@wizardsoftheweb/nyc-config-typescript
v1.1.0
Published
Extendable nyc typescript config
Downloads
2
Readme
@wizardsoftheweb/nyc-config-typescript
TypeScript nyc
config, based on @istanbuljs/nyc-config-babel
.
Install
npm install --save-dev typescript ts-node nyc cross-env @wizardsoftheweb/nyc-config-typescript
Usage
Start .nycrc
with this:
{
"extends": "@wizardsoftheweb/nyc-config-typescript"
}
Suggested lifecycle
Script
{
"scripts": {
"test": "cross-env NODE_ENV=test nyc mocha"
}
}