Skip to content

Commit 5211673

Browse files
committed
cleanup targets
1 parent 9923b53 commit 5211673

File tree

1 file changed

+2
-58
lines changed

1 file changed

+2
-58
lines changed

static-environments/cli-e2e-env/project.json

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,67 +4,11 @@
44
"sourceRoot": "static-environments/cli-e2e-env/src",
55
"projectType": "application",
66
"targets": {
7-
"build": {
8-
"executor": "@nx/vite:build",
9-
"outputs": ["{options.outputPath}"],
10-
"defaultConfiguration": "production",
11-
"options": {
12-
"outputPath": "dist/examples/react-todos-app"
13-
},
14-
"configurations": {
15-
"development": {
16-
"mode": "development"
17-
},
18-
"production": {
19-
"mode": "production"
20-
}
21-
}
22-
},
23-
"serve": {
24-
"executor": "@nx/vite:dev-server",
25-
"defaultConfiguration": "development",
26-
"options": {
27-
"buildTarget": "react-todos-app:build"
28-
},
29-
"configurations": {
30-
"development": {
31-
"buildTarget": "react-todos-app:build:development",
32-
"hmr": true
33-
},
34-
"production": {
35-
"buildTarget": "react-todos-app:build:production",
36-
"hmr": false
37-
}
38-
}
39-
},
40-
"test": {
41-
"executor": "@nx/vite:test",
42-
"outputs": ["{options.reportsDirectory}"],
43-
"options": {
44-
"configFile": "examples/react-todos-app/vite.config.ts",
45-
"reportsDirectory": "../../coverage/react-todos-app"
46-
}
47-
},
48-
"preview": {
49-
"executor": "@nx/vite:preview-server",
50-
"defaultConfiguration": "development",
51-
"options": {
52-
"buildTarget": "react-todos-app:build"
53-
},
54-
"configurations": {
55-
"development": {
56-
"buildTarget": "react-todos-app:build:development"
57-
},
58-
"production": {
59-
"buildTarget": "react-todos-app:build:production"
60-
}
61-
}
62-
},
637
"run-collect": {
648
"executor": "nx:run-commands",
659
"options": {
66-
"command": "npx ../../dist/packages/cli collect --no-progress",
67-
"cwd": "examples/react-todos-app"
10+
"command": "npx @code-pushup/cli collect --no-progress",
11+
"cwd": "static-environments/cli-e2e-env"
6812
},
6913
"dependsOn": [
7014
{

0 commit comments

Comments
 (0)