Skip to content

Commit

Permalink
fix: add --build-from-source to node-gyp-build
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 28, 2022
1 parent f7380b1 commit 42bbe9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"tsconfig.json"
],
"scripts": {
"install": "(shx test -f ./script/build.js || run-s build.js) && echo 'running node-gyp-build:' && node-gyp-build",
"install": "(shx test -f ./script/build.js || run-s build.js) && node-gyp-build --build-from-source",
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
"build.library": "tsc -p ./src/tsconfig.json && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",
Expand Down

0 comments on commit 42bbe9b

Please sign in to comment.