Skip to content

Commit 464a0a7

Browse files
committed
[meta] clean up scripts
1 parent 86b273c commit 464a0a7

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"browser": "browser.js",
66
"main": "index.js",
77
"scripts": {
8-
"standard": "standard",
9-
"test": "npm run-script standard && npm run-script unit",
10-
"unit": "node test.js | tspec"
8+
"pretest": "standard",
9+
"test": "npm run tests-only",
10+
"tests-only": "tape test.js",
11+
"posttest": "npx npm@'>=10.2' audit --production"
1112
},
1213
"repository": {
1314
"type": "git",
@@ -22,18 +23,17 @@
2223
"url": "https://github.com/crypto-browserify/createHash/issues"
2324
},
2425
"homepage": "https://github.com/crypto-browserify/createHash",
25-
"devDependencies": {
26-
"hash-test-vectors": "^1.3.2",
27-
"safe-buffer": "^5.0.1",
28-
"standard": "^10.0.2",
29-
"tap-spec": "^2.1.2",
30-
"tape": "^4.6.3"
31-
},
3226
"dependencies": {
3327
"cipher-base": "^1.0.1",
3428
"inherits": "^2.0.1",
3529
"md5.js": "^1.3.4",
3630
"ripemd160": "^2.0.1",
3731
"sha.js": "^2.4.0"
32+
},
33+
"devDependencies": {
34+
"hash-test-vectors": "^1.3.2",
35+
"safe-buffer": "^5.0.1",
36+
"standard": "^10.0.2",
37+
"tape": "^4.6.3"
3838
}
3939
}

0 commit comments

Comments
 (0)