Skip to content

Commit 269f4e3

Browse files
committed
package.json: Extract the compiler download into a new script with a more self-explanatory name
1 parent fb7a98d commit 269f4e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

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

0 commit comments

Comments
 (0)