AFFiNE/packages/frontend/native/package.json
2024-02-23 09:37:14 +00: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.41",
"@types/node": "^20.11.20",
"@types/uuid": "^9.0.8",
"ava": "^6.1.1",
"cross-env": "^7.0.3",
"nx": "^18.0.4",
"nx-cloud": "^18.0.0",
"rxjs": "^7.8.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"uuid": "^9.0.1"
},
"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.12.0"
}