napi-rs/test_module/package.json

14 lines
894 B
JSON
Raw Normal View History

2018-04-28 17:26:38 +09:00
{
"name": "test-module",
"version": "1.0.0",
"scripts": {
2020-11-10 12:09:25 +09:00
"build": "cargo build --features \"latest\" && node ../scripts/index.js build",
"build-napi3": "cargo build --features \"napi3\" && node ../scripts/index.js build",
"build-aarch64": "cargo build --features \"latest\" --target aarch64-unknown-linux-gnu && node ../scripts/index.js build --target-triple aarch64-unknown-linux-gnu",
"build-i686": "cargo build --features \"latest\" --target i686-pc-windows-msvc && node ../scripts/index.js build --target-triple i686-pc-windows-msvc",
"build-i686-release": "cargo build --release --features \"latest\" --target i686-pc-windows-msvc && node ../scripts/index.js build --release --target-triple i686-pc-windows-msvc",
2020-11-10 12:09:25 +09:00
"build-release": "cargo build --features \"latest\" --release && node ../scripts/index.js build --release",
"test": "node ./index.js"
2018-04-28 17:26:38 +09:00
}
}