mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-13 10:44:54 +03:00
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "@affine/server-native",
|
|
"version": "0.17.0",
|
|
"engines": {
|
|
"node": ">= 10.16.0 < 11 || >= 11.8.0"
|
|
},
|
|
"type": "module",
|
|
"main": "./index.js",
|
|
"module": "./index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./server-native.node",
|
|
"import": "./index.js",
|
|
"types": "./index.d.ts"
|
|
}
|
|
},
|
|
"napi": {
|
|
"binaryName": "server-native",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-pc-windows-msvc",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "node --test ./__tests__/**/*.spec.js",
|
|
"bench": "node ./benchmark/index.js",
|
|
"build": "napi build --release --strip --no-const-enum",
|
|
"build:debug": "napi build"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "3.0.0-alpha.62",
|
|
"lib0": "^0.2.93",
|
|
"nx": "^19.0.0",
|
|
"nx-cloud": "^19.0.0",
|
|
"tiktoken": "^1.0.15",
|
|
"tinybench": "^2.8.0",
|
|
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch"
|
|
}
|
|
}
|