chore: add nodejs watch command; (#66)

This commit is contained in:
stefan-gorules
2023-07-30 16:22:36 +02:00
committed by GitHub
parent 6ba0dc0e36
commit 830ed2bcd8
+1
View File
@@ -73,6 +73,7 @@
"scripts": {
"build": "napi build --platform --release --js index.js --dts index.d.ts",
"build:debug": "napi build --platform --js index.js --dts index.d.ts",
"watch": "cargo watch --ignore '{index.js,index.d.ts}' -- npm run build:debug",
"test": "jest",
"artifacts": "napi artifacts -d ../../artifacts",
"prepublishOnly": "napi prepublish",