-
Notifications
You must be signed in to change notification settings - Fork 15
/
project.json
59 lines (59 loc) · 1.56 KB
/
project.json
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
{
"name": "cli",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/cli/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/cli",
"main": "packages/cli/src/index.ts",
"tsConfig": "packages/cli/tsconfig.lib.json",
"assets": ["packages/cli/*.md"]
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/cli/**/*.ts",
"packages/cli/package.json"
]
}
},
"unit-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/cli/vite.config.unit.ts"
}
},
"integration-test": {
"executor": "@nx/vite:test",
"options": {
"configFile": "packages/cli/vite.config.integration.ts"
}
},
"run-help": {
"command": "npx dist/packages/cli --help",
"dependsOn": ["build"]
},
"run-collect": {
"command": "npx ../../dist/packages/cli collect --persist.format=json --persist.format=md",
"options": {
"cwd": "examples/react-todos-app"
},
"dependsOn": ["build"]
},
"run-print-config": {
"command": "npx ../../dist/packages/cli print-config",
"options": {
"cwd": "examples/react-todos-app"
},
"dependsOn": ["build"]
}
},
"tags": ["scope:core", "type:app", "publishable"]
}