napi-rs/test_module/package.json

9 lines
268 B
JSON

{
"name": "test-module",
"version": "1.0.0",
"scripts": {
"build": "cargo build && node ../scripts/index.js build ./index",
"build-release": "cargo build --release && node ../scripts/index.js build --release ./index",
"test": "node ./index.js"
}
}