diff options
author | Mike Morris <mikemorris@users.noreply.github.com> | 2016-04-11 15:53:50 -0700 |
---|---|---|
committer | Mike Morris <mikemorris@users.noreply.github.com> | 2016-04-11 16:40:33 -0700 |
commit | 18768d6f880f667f1849366c32fdc049553f8fcf (patch) | |
tree | 4491156d915af0892d61a93cc32a46d4bf90dbdf /package.json | |
parent | 1209ae4213b0ebdb59881b62213a3ba1d1895f1e (diff) | |
download | qtlocation-mapboxgl-18768d6f880f667f1849366c32fdc049553f8fcf.tar.gz |
unbundle node-pre-gyp to work around bundledDependencies bug in npm2
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
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" |