42 lines
1 KiB
JSON
42 lines
1 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"
|
|
]
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "2.18.0",
|
|
"ava": "6.1.0"
|
|
},
|
|
"ava": {
|
|
"timeout": "3m"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"build": "napi build --features napi --platform --release ./built/",
|
|
"build:debug": "napi build --features napi --platform ./built/",
|
|
"prepublishOnly": "napi prepublish -t npm",
|
|
"universal": "napi universal",
|
|
"version": "napi version",
|
|
"format": "cargo fmt --all --",
|
|
"lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --"
|
|
}
|
|
}
|