Skip to content

Commit c6aad44

Browse files
Micah Zoltuaxic
authored andcommitted
Updates scripts so that they run on Windows.
For whatever reason, most of the packages used in scripts do not properly package cross-platform scripts (only exception is `tape`). This change makes it so the scripts are run from node_modules rather than as commands.
1 parent fba2b03 commit c6aad44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"solcjs": "solcjs"
88
},
99
"scripts": {
10-
"lint": "semistandard",
10+
"lint": "node ./node_modules/semistandard/bin/cmd.js",
1111
"prepublish": "node downloadCurrentVersion.js && node verifyVersion.js",
1212
"pretest": "npm run lint",
1313
"test": "tape ./test/index.js",
14-
"coverage": "istanbul cover node_modules/tape/bin/tape ./test/index.js",
15-
"coveralls": "npm run coverage && coveralls <coverage/lcov.info"
14+
"coverage": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/tape/bin/tape ./test/index.js",
15+
"coveralls": "npm run coverage && node ./node_modules/coveralls/bin/coveralls.js <coverage/lcov.info"
1616
},
1717
"repository": {
1818
"type": "git",

0 commit comments

Comments
 (0)