summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMike Morris <mikemorris@users.noreply.github.com>2016-04-11 15:53:50 -0700
committerMike Morris <mikemorris@users.noreply.github.com>2016-04-11 16:40:33 -0700
commit18768d6f880f667f1849366c32fdc049553f8fcf (patch)
tree4491156d915af0892d61a93cc32a46d4bf90dbdf /package.json
parent1209ae4213b0ebdb59881b62213a3ba1d1895f1e (diff)
downloadqtlocation-mapboxgl-18768d6f880f667f1849366c32fdc049553f8fcf.tar.gz
unbundle node-pre-gyp to work around bundledDependencies bug in npm2
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 1 insertions, 3 deletions
diff --git a/package.json b/package.json
index 6d73721891..bb00611f58 100644
--- a/package.json
+++ b/package.json
@@ -16,9 +16,6 @@
"nan": "^2.2.1",
"node-pre-gyp": "^0.6.26"
},
- "bundledDependencies": [
- "node-pre-gyp"
- ],
"devDependencies": {
"aws-sdk": "^2.3.2",
"mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#1e0d988e187a6c9a7a74fa8d7feb9c66c2258123",
@@ -30,6 +27,7 @@
"node": ">=4.2.1"
},
"scripts": {
+ "preinstall": "npm install node-pre-gyp",
"install": "node-pre-gyp install --fallback-to-build=false || make node",
"test": "tape platform/node/test/js/**/*.test.js",
"test-suite": "node platform/node/test/render.test.js"