2023-03-31 03:58:28 +02:00
|
|
|
{
|
2024-02-12 15:14:23 +01:00
|
|
|
"name": "backend-rs",
|
2023-06-22 18:28:36 +02:00
|
|
|
"version": "0.0.0",
|
|
|
|
"main": "built/index.js",
|
|
|
|
"types": "built/index.d.ts",
|
|
|
|
"napi": {
|
2024-02-12 15:14:23 +01:00
|
|
|
"name": "backend-rs",
|
2023-06-22 18:28:36 +02:00
|
|
|
"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": {
|
2024-02-10 18:43:22 +01:00
|
|
|
"@napi-rs/cli": "2.18.0",
|
2024-03-02 05:18:17 +01:00
|
|
|
"ava": "6.1.2"
|
2023-06-22 18:28:36 +02:00
|
|
|
},
|
|
|
|
"ava": {
|
|
|
|
"timeout": "3m"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">= 10"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"artifacts": "napi artifacts",
|
2024-03-27 00:50:08 +01:00
|
|
|
"build": "napi build --features napi --platform --release ./built/",
|
|
|
|
"build:debug": "napi build --features napi --platform ./built/",
|
2023-06-22 18:28:36 +02:00
|
|
|
"prepublishOnly": "napi prepublish -t npm",
|
2024-03-26 05:11:06 +01:00
|
|
|
"test": "pnpm run cargo:test && pnpm run build:debug && ava",
|
2023-06-22 18:28:36 +02:00
|
|
|
"universal": "napi universal",
|
|
|
|
"version": "napi version",
|
2023-10-02 18:32:36 +02:00
|
|
|
"format": "cargo fmt --all --",
|
|
|
|
"lint": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --",
|
2023-06-03 06:40:51 +02:00
|
|
|
"cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration",
|
2023-06-22 18:28:36 +02:00
|
|
|
"cargo:unit": "cargo test unit_test && cargo test -F napi unit_test",
|
2024-01-11 02:21:46 +01:00
|
|
|
"cargo:integration": "cargo test int_test"
|
2023-06-22 18:28:36 +02:00
|
|
|
}
|
2023-03-31 03:58:28 +02:00
|
|
|
}
|