suyanhanx commented on code in PR #1813:
URL: 
https://github.com/apache/incubator-opendal/pull/1813#discussion_r1153980282


##########
bindings/nodejs/package.json:
##########
@@ -59,15 +59,12 @@
     "node": ">= 10"
   },
   "scripts": {
-    "artifacts": "napi artifacts",
-    "build": "napi build --platform --release --js generated.js && node 
./scripts/header.js",
-    "build:debug": "napi build --platform --js generated.js && node 
./scripts/header.js",
+    "build": "napi build --platform --target \"${NAPI_TARGET:-}\" --release 
--js generated.js && node ./scripts/header.js",
+    "build:debug": "napi build --platform --target \"${NAPI_TARGET:-}\" --js 
generated.js && node ./scripts/header.js",
     "docs": "typedoc",
     "format": "prettier --write .",
-    "prepublishOnly": "napi prepublish -t npm",
     "test": "cucumber-js",
-    "bench": "node ./benchmark/index.js",
-    "version": "napi version"

Review Comment:
   This convenient command can automatically synchronize the version number of 
package.json to all sub-packages. We can keep it.



##########
bindings/nodejs/package.json:
##########
@@ -59,15 +59,12 @@
     "node": ">= 10"
   },
   "scripts": {
-    "artifacts": "napi artifacts",

Review Comment:
   Why not keep this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to