[js/node] fix js node install (#8650)

This commit is contained in:
Yulong Wang 2021-08-06 23:36:53 -07:00 committed by GitHub
parent c86b813519
commit 1ce4328846
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
"rebuild": "tsc && node ./script/build --rebuild",
"rebuildd": "tsc && node ./script/build --rebuild --config=Debug",
"rebuildr": "tsc && node ./script/build --rebuild --config=RelWithDebInfo",
"install": "prebuild-install -r napi || (tsc && node ./script/build)",
"install": "prebuild-install -r napi || (tsc --build script && node ./script/build)",
"prepare": "tsc --build script && tsc",
"test": "tsc --build test && mocha ./test/test-main",
"prepack": "node ./script/prepack"
@ -63,4 +63,4 @@
3
]
}
}
}