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 b9bb25a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ package-lock=false
lockfile=true
prefer-frozen-lockfile=false
strict-peer-dependencies=false
build-from-source=true
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",
"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 b9bb25a

Please sign in to comment.