mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-28 17:22:30 +03:00
26 lines
567 B
JSON
26 lines
567 B
JSON
{
|
|
"name": "@affine/native",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"root": "packages/native",
|
|
"sourceRoot": "packages/native/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": ["^build"],
|
|
"options": {
|
|
"script": "build"
|
|
},
|
|
"inputs": [
|
|
{
|
|
"runtime": "rustc --version"
|
|
},
|
|
{
|
|
"runtime": "node -v"
|
|
}
|
|
],
|
|
"outputs": ["{projectRoot}/*.node", "{workspaceRoot}/affine.db"]
|
|
}
|
|
}
|
|
}
|