jormungandr-bite/packages/backend/native-utils/package.json

49 lines
1.3 KiB
JSON
Raw Normal View History

{
"name": "native-utils",
"version": "0.0.0",
"main": "built/index.js",
"types": "built/index.d.ts",
"napi": {
"name": "native-utils",
"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": {
2023-06-03 01:41:30 -06:00
"@napi-rs/cli": "2.16.1",
2023-06-02 07:55:57 -06:00
"ava": "5.1.1"
},
"ava": {
"timeout": "3m"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
2023-06-02 09:55:14 -06:00
"build": "napi build --features napi --platform --release ./built/",
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
2023-06-02 22:40:51 -06:00
"test": "pnpm run cargo:test && pnpm run build && ava",
"universal": "napi universal",
2023-05-27 04:28:27 -06:00
"version": "napi version",
2023-06-02 22:36:51 -06:00
"format": "cargo fmt --all",
2023-06-02 22:40:51 -06:00
"cargo:test": "pnpm run cargo:unit && pnpm run cargo:integration",
2023-06-02 21:01:53 -06:00
"cargo:unit": "cargo test unit_test && cargo test -F napi unit_test",
"cargo:integration": "cargo test -F noarray int_test -- --test-threads=1"
}
}