46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "backend-rs",
|
|
"version": "0.0.0",
|
|
"main": "built/index.js",
|
|
"types": "built/index.d.ts",
|
|
"napi": {
|
|
"name": "backend-rs",
|
|
"triples": {
|
|
"additional": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-linux-android",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-pc-windows-msvc",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"x86_64-unknown-linux-musl",
|
|
"x86_64-unknown-freebsd",
|
|
"i686-pc-windows-msvc",
|
|
"armv7-linux-androideabi",
|
|
"universal-apple-darwin"
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "2.18.1",
|
|
"ava": "6.1.2"
|
|
},
|
|
"ava": {
|
|
"timeout": "3m"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"build": "napi build --features napi --no-const-enum --platform --release ./built/",
|
|
"build:debug": "napi build --features napi --no-const-enum --platform ./built/",
|
|
"prepublishOnly": "napi prepublish -t npm",
|
|
"test": "pnpm run cargo:test && pnpm run build:debug && ava",
|
|
"universal": "napi universal",
|
|
"version": "napi version",
|
|
"cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration",
|
|
"cargo:unit": "cargo test unit_test && cargo test -F napi unit_test",
|
|
"cargo:integration": "cargo test int_test"
|
|
}
|
|
}
|