AFFiNE/packages/native/package.json
2023-07-16 23:27:39 +08:00

43 lines
1.1 KiB
JSON

{
"name": "@affine/native",
"private": true,
"main": "index.js",
"types": "index.d.ts",
"napi": {
"name": "affine",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-pc-windows-msvc"
]
},
"ts": {
"constEnum": false
}
},
"license": "MPL-2.0",
"devDependencies": {
"@napi-rs/cli": "^2.16.1",
"@types/node": "^18.16.19",
"@types/uuid": "^9.0.2",
"cross-env": "^7.0.3",
"rxjs": "^7.8.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"uuid": "^9.0.0"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release --no-const-enum",
"build:debug": "napi build --platform --no-const-enum",
"universal": "napi universal",
"test": "cross-env TS_NODE_TRANSPILE_ONLY=1 TS_NODE_PROJECT=./tsconfig.json node --test --loader ts-node/esm --experimental-specifier-resolution=node ./__tests__/**/*.mts",
"version": "napi version"
},
"version": "0.7.0-canary.47"
}