Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
migrate to NYC
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor committed Nov 7, 2018
1 parent b4ce46a commit 664057b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ package-lock.json


dist
.nyc_output
13 changes: 13 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"reporter": [
"lcov",
"text"
],
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"all": true
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"scripts": {
"build": "tsc",
"coverage": "istanbul cover _mocha -- --reporter spec --require ts-node/register 'test/index.ts'",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"coverage": "nyc mocha --reporter spec --require ts-node/register 'test/index.ts'",
"coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
"lint": "standard",
"test": "istanbul test mocha -- --reporter spec --require ts-node/register 'test/index.ts'",
"test": "mocha --reporter spec --require ts-node/register 'test/index.ts'",
"webtest": "browserify test/max.js | testling -u"
},
"repository": {
Expand Down Expand Up @@ -42,9 +42,9 @@
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.2",
"bn.js": "^4.11.1",
"nyc": "^13.1.0",
"coveralls": "^2.11.4",
"ethereumjs-testing": "git+https://github.com/ethereumjs/ethereumjs-testing.git",
"istanbul": "^0.4.2",
"mocha": "4.1.0",
"standard": "^6.0.8",
"ts-node": "^7.0.1",
Expand Down

0 comments on commit 664057b

Please sign in to comment.