Skip to content

Commit

Permalink
Remove npm run from install lifecycle script.
Browse files Browse the repository at this point in the history
This ensures compatibility with all package manager installation choices.

Closes WiseLibs/better-sqlite3#893.

Co-authored-by: Nathan Hammond <[email protected]>
  • Loading branch information
m4heshd and nathanhammond committed Nov 1, 2022
1 parent d912de6 commit 8a39703
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 @@ -32,7 +32,7 @@
"@types/better-sqlite3": "latest"
},
"scripts": {
"install": "prebuild-install || npm run build-release",
"install": "prebuild-install || node-gyp rebuild --release",
"build-release": "node-gyp rebuild --release",
"build-debug": "node-gyp rebuild --debug",
"rebuild-release": "npm run lzz && npm run build-release",
Expand Down

0 comments on commit 8a39703

Please sign in to comment.