Skip to content

Commit

Permalink
Updated to use napi prebuilds.
Browse files Browse the repository at this point in the history
Change-Id: I24a5332b6c1046de7d7f444858f0b2ca28b8e4b3
Reviewed-on: https://review.couchbase.org/c/couchnode/+/178495
Reviewed-by: Charles Dixon <chvckd@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
  • Loading branch information
brett19 committed Aug 4, 2022
1 parent b49d20a commit ef01f60
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"native": false
},
"scripts": {
"install": "prebuild-install || cmake-js compile",
"install": "prebuild-install -r napi || cmake-js compile",
"build": "cmake-js build && tsc",
"rebuild": "cmake-js rebuild && tsc",
"prebuild": "prebuild --backend cmake-js --verbose --strip",
Expand All @@ -74,5 +74,10 @@
"cover-fast": "nyc ts-mocha test/*.test.* -ig '(slow)'",
"lint": "eslint ./lib/ ./test/",
"check-deps": "ncu"
},
"binary": {
"napi_versions": [
6
]
}
}

0 comments on commit ef01f60

Please sign in to comment.