diff --git a/bindings/packager/nodejs/.npmrc b/bindings/packager/nodejs/.npmrc new file mode 100644 index 00000000..6c59086d --- /dev/null +++ b/bindings/packager/nodejs/.npmrc @@ -0,0 +1 @@ +enable-pre-post-scripts=true diff --git a/bindings/packager/nodejs/package.json b/bindings/packager/nodejs/package.json index 92bed8da..4c2273af 100644 --- a/bindings/packager/nodejs/package.json +++ b/bindings/packager/nodejs/package.json @@ -45,6 +45,7 @@ "build": "pnpm build-ts && napi build --platform --profile release-size-optimized", "build:debug": "napi build --platform && pnpm build-ts", "prepublishOnly": "napi prepublish -t npm --gh-release-id $RELEASE_ID", + "pretest": "pnpm build-ts", "test": "ava --no-worker-threads", "universal": "napi universal", "version": "napi version"