1a3621b727
1. inline everything 2. change `check_status` and `type_of` to macro 3. provide #[module_exports] macro 4. remove debug and repr[transparent] for ffi struct
13 lines
894 B
JSON
13 lines
894 B
JSON
{
|
|
"name": "test-module",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"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",
|
|
"build-release": "cargo build --features \"latest\" --release && node ../scripts/index.js build --release",
|
|
"test": "node ./index.js"
|
|
}
|
|
}
|