Files
aitu/apps/web/project.json
T
liquidliang 643e69faa7 chore: enhance project configuration and task management
- Added type checking and linting commands to package.json for improved code quality.
- Updated CLAUDE.md to include new commands and principles for code minimalism.
- Removed redundant task import functionality from SWChannelManager to streamline task handling.
- Adjusted task management to directly read configurations from IndexedDB, eliminating unnecessary synchronization.
- Updated various project configurations to support type checking and linting across multiple packages.
2026-02-06 11:21:18 +08:00

79 lines
1.7 KiB
JSON

{
"name": "web",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/web/src",
"projectType": "application",
"tags": [],
"targets": {
"build-sw": {
"executor": "nx:run-commands",
"options": {
"command": "vite build -c vite.sw.config.ts",
"cwd": "apps/web"
}
},
"watch-sw": {
"executor": "nx:run-commands",
"options": {
"command": "vite build -c vite.sw.config.ts --watch --mode development",
"cwd": "apps/web"
}
},
"serve-app": {
"executor": "nx:run-commands",
"options": {
"command": "vite serve --host 0.0.0.0",
"cwd": "apps/web"
}
},
"serve": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx run web:watch-sw",
"nx run web:serve-app"
],
"parallel": true
}
},
"build-app": {
"executor": "nx:run-commands",
"options": {
"command": "vite build",
"cwd": "apps/web"
}
},
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx run web:build-app",
"nx run web:build-sw"
],
"parallel": false
}
},
"preview": {
"executor": "nx:run-commands",
"options": {
"command": "vite preview",
"cwd": "apps/web"
}
},
"lint": {
"executor": "nx:run-commands",
"options": {
"command": "eslint .",
"cwd": "apps/web"
}
},
"typecheck": {
"executor": "nx:run-commands",
"options": {
"command": "tsc --noEmit",
"cwd": "apps/web"
}
}
}
}