Skip to content

Commit 13d373c

Browse files
committed
[Dev Deps] update tape, downgrade nyc, clean up scripts
1 parent 8cbfd12 commit 13d373c

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.nycrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"all": true,
3+
"check-coverage": false,
4+
"reporter": ["text-summary", "text", "html", "json"],
5+
"exclude": [
6+
"coverage",
7+
"test"
8+
]
9+
}

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,20 @@
2121
"url": "https://github.com/crypto-browserify/hash-base.git"
2222
},
2323
"scripts": {
24-
"coverage": "nyc node test/*.js",
2524
"lint": "standard",
26-
"test": "npm run lint && npm run unit",
27-
"unit": "node test/*.js"
25+
"pretest": "npm run lint",
26+
"test": "npm run tests-only",
27+
"tests-only": "nyc tape 'test/**/*.js'",
28+
"posttest": "npx npm@'>=10.2' audit --production"
2829
},
2930
"dependencies": {
3031
"inherits": "^2.0.1",
3132
"safe-buffer": "^5.0.1"
3233
},
3334
"devDependencies": {
34-
"nyc": "^8.3.2",
35-
"standard": "*",
36-
"tape": "^4.2.0"
35+
"nyc": "^10.3.2",
36+
"standard": "^14.3.3",
37+
"tape": "^5.9.0"
3738
},
3839
"engines": {
3940
"node": ">= 0.10"

0 commit comments

Comments
 (0)