Skip to content

Commit fb7a98d

Browse files
authored
Merge pull request #540 from ethereum/scriptPrepublishOnly
Use prepublishOnly.
2 parents e2c147c + 43198c5 commit fb7a98d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
},
99
"scripts": {
1010
"lint": "node ./node_modules/semistandard/bin/cmd.js",
11-
"prepublish": "node downloadCurrentVersion.js && node verifyVersion.js",
12-
"pretest": "npm run lint",
11+
"prepublishOnly": "node downloadCurrentVersion.js && node verifyVersion.js",
12+
"pretest": "npm run lint && npm run prepublishOnly",
1313
"test": "tape ./test/index.js",
1414
"coverage": "node ./node_modules/nyc/bin/nyc.js --reporter=lcov --reporter=text-summary ./node_modules/tape/bin/tape ./test/index.js",
1515
"coveralls": "npm run coverage && node ./node_modules/coveralls/bin/coveralls.js <coverage/lcov.info"

0 commit comments

Comments
 (0)