Skip to content

Commit b9bb25a

Browse files
committed
fix: add build-from-source to node-gyp-build
1 parent f7380b1 commit b9bb25a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ package-lock=false
33
lockfile=true
44
prefer-frozen-lockfile=false
55
strict-peer-dependencies=false
6+
build-from-source=true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"tsconfig.json"
7070
],
7171
"scripts": {
72-
"install": "(shx test -f ./script/build.js || run-s build.js) && echo 'running node-gyp-build:' && node-gyp-build",
72+
"install": "(shx test -f ./script/build.js || run-s build.js) && node-gyp-build",
7373
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
7474
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
7575
"build.library": "tsc -p ./src/tsconfig.json && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",

0 commit comments

Comments
 (0)