返回 AiToEarn
project.json
1 {
2 "name": "aitoearn-ai",
3 "$schema": "../../node_modules/nx/schemas/project-schema.json",
4 "sourceRoot": "apps/aitoearn-ai/src",
5 "projectType": "application",
6 "tags": [],
7 "targets": {
8 "build": {
9 "executor": "@nx/js:tsc",
10 "outputs": ["{options.outputPath}"],
11 "options": {
12 "outputPath": "dist/apps/aitoearn-ai",
13 "tsConfig": "apps/aitoearn-ai/tsconfig.app.json",
14 "packageJson": "apps/aitoearn-ai/package.json",
15 "main": "apps/aitoearn-ai/src/main.ts",
16 "assets": [
17 "apps/aitoearn-ai/*.md",
18 {
19 "glob": "**/*",
20 "input": "apps/aitoearn-ai/src/core/agent/skills",
21 "output": "src/core/agent/skills"
22 }
23 ],
24 "generatePackageJson": true,
25 "clean": true
26 }
27 },
28 "prune-lockfile": {
29 "dependsOn": ["build"],
30 "cache": true,
31 "executor": "@nx/js:prune-lockfile",
32 "outputs": [
33 "{workspaceRoot}/dist/apps/aitoearn-ai/package.json",
34 "{workspaceRoot}/dist/apps/aitoearn-ai/pnpm-lock.yaml"
35 ],
36 "options": {
37 "buildTarget": "build"
38 }
39 },
40 "serve": {
41 "continuous": true,
42 "executor": "@nx/js:node",
43 "defaultConfiguration": "local",
44 "dependsOn": ["build"],
45 "options": {
46 "buildTarget": "aitoearn-ai:build",
47 "runBuildTargetDependencies": false
48 },
49 "configurations": {
50 "local": {
51 "buildTarget": "aitoearn-ai:build:development",
52 "args": [
53 "-c",
54 "{workspaceRoot}/apps/aitoearn-ai/config/local.config.yaml"
55 ]
56 },
57 "dev": {
58 "buildTarget": "aitoearn-ai:build:development",
59 "args": [
60 "-c",
61 "{workspaceRoot}/apps/aitoearn-ai/config/dev.config.yaml"
62 ]
63 },
64 "prod": {
65 "buildTarget": "aitoearn-ai:build:production",
66 "args": [
67 "-c",
68 "{workspaceRoot}/apps/aitoearn-ai/config/prod.config.yaml"
69 ]
70 }
71 }
72 },
73 "lint": {
74 "executor": "@nx/eslint:lint",
75 "outputs": ["{options.outputFile}"],
76 "options": {
77 "fix": true
78 }
79 },
80 "docker-context": {},
81 "docker-build": {}
82 }
83 }
84
84 lines JSON