AFFiNE/packages/frontend/native/package.json
2024-08-09 18:30:07 +08:00

62 lines
1.3 KiB
JSON

{
"name": "@affine/native",
"private": true,
"main": "index.js",
"types": "index.d.ts",
"napi": {
"binaryName": "affine",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-pc-windows-msvc"
]
},
"ts": {
"constEnum": false
}
},
"license": "MIT",
"ava": {
"extensions": {
"mts": "module"
},
"nodeArguments": [
"--loader",
"ts-node/esm.mjs",
"--es-module-specifier-resolution=node"
],
"files": [
"__tests__/*.spec.mts"
],
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
}
},
"devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.60",
"@types/node": "^20.12.7",
"@types/uuid": "^10.0.0",
"ava": "^6.1.2",
"cross-env": "^7.0.3",
"nx": "^19.0.0",
"nx-cloud": "^19.0.0",
"rxjs": "^7.8.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"uuid": "^10.0.0"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release --no-const-enum",
"build:debug": "napi build --platform",
"universal": "napi universal",
"test": "ava",
"version": "napi version"
},
"version": "0.16.0"
}