Skip to content

Commit 934c3ae

Browse files
committed
fix(package): node-gyp-install
1 parent 4b38c70 commit 934c3ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
},
2626
"main": "lib/index.js",
2727
"scripts": {
28-
"preinstall": "npm install node-gyp-install && ./node_modules/node-gyp-install/bin.js",
28+
"preinstall": "npm install node-gyp-install && node-gyp-install",
2929
"lint": "eslint lib example e2e",
3030
"test": "NODE_ENV=test npm run test-unit && npm run test-e2e",
3131
"test-unit": "NODE_ENV=test mocha $(find ./lib -name \"*.spec.js\" -not -path \"./node_modules/*\")",
3232
"test-cls": "NODE_ENV=test mocha $(find ./lib -name \"*.spec.e2e.js\" -not -path \"./node_modules/*\")",
3333
"test-e2e": "NODE_ENV=test node ./e2e | tap-spec",
3434
"cover": "istanbul cover _mocha $(find ./lib -name \"*.spec.js\" -not -path \"./node_modules/*\"); open coverage/lcov-report/index.html",
35-
"changelog": "conventional-changelog -p angular -o CHANGELOG.md -r 500"
35+
"changelog": "conventional-changelog -p angular -o CHANGELOG.md -r 500",
36+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
3637
},
3738
"repository": {
3839
"type": "git",

0 commit comments

Comments
 (0)