napi-rs/examples/napi-compat-mode/package.json

14 lines
908 B
JSON

{
"name": "test-module",
"version": "1.0.0",
"scripts": {
"build": "node ../../cli/scripts/index.js build --js false --features \"latest\"",
"build-napi3": "node ../../cli/scripts/index.js build --js false --features \"napi3\"",
"build-aarch64": "node ../../cli/scripts/index.js build --js false --features \"latest\" --target aarch64-unknown-linux-gnu",
"build-armv7": "node ../../cli/scripts/index.js build --js false --features \"latest\" --target armv7-unknown-linux-gnueabihf",
"build-i686": "node ../../cli/scripts/index.js build --js false --features \"latest\" --target i686-pc-windows-msvc",
"build-i686-release": "node ../../cli/scripts/index.js build --js false --release --features \"latest\" --target i686-pc-windows-msvc",
"build-release": "node ../../cli/scripts/index.js build --js false --features \"latest\" --release",
"test": "node ./index.js"
}
}