-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathproject.json
More file actions
75 lines (75 loc) · 2.02 KB
/
project.json
File metadata and controls
75 lines (75 loc) · 2.02 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "examples-plugins",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "examples/plugins/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/examples/plugins",
"main": "examples/plugins/src/index.ts",
"tsConfig": "examples/plugins/tsconfig.lib.json",
"assets": ["examples/plugins/*.md"]
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["examples/plugins/**/*.ts"]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"outputs": ["{options.reportsDirectory}"],
"options": {
"configFile": "examples/plugins/vitest.unit.config.ts",
"reportsDirectory": "../../coverage/examples-plugins/unit-tests"
}
},
"int-test": {
"executor": "@nx/vite:test",
"outputs": ["{options.reportsDirectory}"],
"options": {
"configFile": "examples/plugins/vitest.int.config.ts",
"reportsDirectory": "../../coverage/examples-plugins/int-tests"
}
},
"run-collect": {
"command": "npx dist/packages/cli collect --config=examples/plugins/code-pushup.config.ts --persist.format=md",
"dependsOn": [
"build",
"^build",
{
"projects": ["cli"],
"target": "build"
}
]
},
"run-print-config": {
"command": "npx dist/packages/cli print-config --config=examples/plugins/code-pushup.config.ts",
"dependsOn": [
"build",
"^build",
{
"projects": ["cli"],
"target": "build"
}
]
},
"run-help": {
"command": "npx dist/packages/cli help",
"dependsOn": [
"build",
"^build",
{
"projects": ["cli"],
"target": "build"
}
]
}
},
"tags": ["scope:internal", "type:feature"]
}