Skip to content

Commit

Permalink
testing out code coverage with nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
hoefling committed Aug 19, 2018
1 parent b046044 commit 0ac98f1
Show file tree
Hide file tree
Showing 2 changed files with 483 additions and 22 deletions.
20 changes: 18 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"watch": "webpack --config webpack/webpack.dev.js --watch",
"build": "webpack --config webpack/webpack.prod.js",
"test": "karma start karma.conf.js",
"test:coverage": "nyc --all --include src/ --extension .ts yarn run test",
"test:coveralls": "yarn run test && cat ./reports/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"keywords": [
Expand Down Expand Up @@ -41,13 +42,28 @@
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^3.0.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"source-map-support": "^0.5.8",
"ts-loader": "^4.4.2",
"ts-node": "^7.0.0",
"ts-node": "^7.0.1",
"typescript": "^3.0.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.4",
"webpack-cli": "^3.1.0",
"webpack-merge": "^4.1.4"
},
"dependencies": {}
"dependencies": {},
"nyc": {
"produceSourceMap": true,
"sourceMap": true,
"instrument": true,
"all": true,
"require": [
"source-map-support/register",
"ts-node/register"
],
"exclude": [
"**/*.d.ts"
]
}
}
Loading

0 comments on commit 0ac98f1

Please sign in to comment.