-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathproject.json
More file actions
46 lines (45 loc) · 1.17 KB
/
Copy pathproject.json
File metadata and controls
46 lines (45 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "astro",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/astro/src",
"projectType": "library",
"tags": ["type:ui"],
"// targets": "to see all targets run: nx show project astro --web",
"targets": {
"serve": {
"executor": "@nx/vite:dev-server",
"options": {
"configFile": "libs/astro/vite.config.ts"
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/astro"],
"options": {
"jestConfig": "libs/astro/jest.config.ts",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{workspaceRoot}/lint/libs/astro"],
"options": {
"lintFilePatterns": ["libs/astro/**/*.ts", "libs/astro/**/*.tsx"]
}
},
"typecheck": {
"executor": "nx:run-commands",
"options": {
"command": "tsc --project libs/astro/tsconfig.lib.json --noEmit"
}
},
"build-theme-json": {
"executor": "nx:run-commands",
"options": {
"command": "node libs/astro/buildThemeJson.ts",
"cwd": ""
}
}
},
"publish": false
}