Skip to content

Commit

Permalink
Add coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
Drarig29 committed Feb 11, 2023
1 parent 26ca7bd commit 30e703a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"json-server": "^0.17.1",
"mocha": "10.1.0",
"mocha-each": "^2.0.1",
"nyc": "^15.1.0",
"typescript": "^4.8.4"
},
"scripts": {
Expand All @@ -37,7 +38,8 @@
"start": "tsc --watch",
"build": "tsc",
"prepare": "npm run build",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"coverage": "nyc -r text -r lcov npm test"
},
"keywords": [
"javascript",
Expand Down

0 comments on commit 30e703a

Please sign in to comment.