mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-09-21 16:38:32 +03:00
955d80e2c1
Co-authored-by: danielchim <kahungchim@gmail.com>
35 lines
957 B
JSON
35 lines
957 B
JSON
{
|
|
"name": "@affine/web",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"root": "apps/web",
|
|
"sourceRoot": "apps/web/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"{projectRoot}/**/*",
|
|
"{workspaceRoot}/packages/component/src/**/*",
|
|
"{workspaceRoot}/packages/debug/src/**/*",
|
|
"{workspaceRoot}/packages/debug/graphql/**/*",
|
|
"{workspaceRoot}/packages/hooks/src/**/*",
|
|
"{workspaceRoot}/packages/jotai/src/**/*",
|
|
"{workspaceRoot}/packages/templates/src/**/*",
|
|
"{workspaceRoot}/packages/workspace/src/**/*"
|
|
],
|
|
"options": {
|
|
"script": "build"
|
|
},
|
|
"outputs": ["{projectRoot}/out"]
|
|
},
|
|
"dev": {
|
|
"executor": "nx:run-script",
|
|
"options": {
|
|
"script": "dev"
|
|
},
|
|
"outputs": ["{projectRoot}/.next"]
|
|
}
|
|
}
|
|
}
|