Skip to content

Commit

Permalink
node-plugin: Fix and improve pre-gyp installs on production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fordN committed Apr 27, 2022
1 parent 316607a commit de25e3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions node-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"/lib",
"/src",
"Cargo.toml"
"/lib"
],
"repository": {
"type": "git",
Expand All @@ -31,13 +29,15 @@
"publish-github-draft": "node-pre-gyp-github publish",
"publish-github": "node-pre-gyp-github publish --release",
"build-test-pack-publish": "yarn build-release && yarn test && yarn package && yarn publish-github",
"prepare": "node-pre-gyp install --fallback-to-build=false --update-binary || yarn build-release",
"install": "node-pre-gyp install --fallback-to-build=false --update-binary || yarn build-release",
"test": "jest",
"clean": "cargo clean && rm -rf ./native ./build ./node_modules"
},
"devDependencies": {
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.9",
"cargo-cp-artifact": "0.1.6",
"cargo-cp-artifact": "0.1.6"
},
"devDependencies": {
"jest": "27.5.1",
"node-pre-gyp-github": "1.4.4"
},
Expand Down

0 comments on commit de25e3e

Please sign in to comment.