Skip to content

Commit b4e0074

Browse files
committed
fix(package): adding node-gyp-install so npm shrinkwrap works as expected
1 parent 144ea0d commit b4e0074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"main": "lib/index.js",
2424
"scripts": {
25-
"preinstall": "npm install node-gyp-install && node-gyp-install",
25+
"preinstall": "npm install node-gyp-install@2.2.0 && node-gyp-install",
2626
"lint": "eslint lib example e2e",
2727
"test": "npm run test-unit && npm run test-e2e",
2828
"test-unit": "mocha $(find ./lib -name \"*.spec.js\" -not -path \"./node_modules/*\")",
@@ -83,6 +83,7 @@
8383
"mongoose": "4.4.5",
8484
"mysql": "2.10.2",
8585
"nock": "7.2.2",
86+
"node-gyp-install": "2.2.0",
8687
"pg": "4.5.1",
8788
"pre-commit": "1.1.2",
8889
"redis": "2.4.2",

0 commit comments

Comments
 (0)