napi-rs/examples/napi/package.json

16 lines
851 B
JSON
Raw Normal View History

{
"name": "napi-examples",
"private": true,
"main": "./index.node",
"types": "./type.d.ts",
"scripts": {
"build": "node ../../cli/scripts/index.js build --features \"latest\"",
"build-napi3": "node ../../cli/scripts/index.js build --features \"napi3\"",
"build-aarch64": "node ../../cli/scripts/index.js build --features \"latest\" --target aarch64-unknown-linux-gnu",
"build-armv7": "node ../../cli/scripts/index.js build --features \"latest\" --target armv7-unknown-linux-gnueabihf",
"build-i686": "node ../../cli/scripts/index.js build --features \"latest\" --target i686-pc-windows-msvc",
"build-i686-release": "node ../../cli/scripts/index.js build --release --features \"latest\" --target i686-pc-windows-msvc",
"build-release": "node ../../cli/scripts/index.js build --features \"latest\" --release"
}
}