-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
project.json
78 lines (78 loc) · 2.02 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "scope-manager",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/scope-manager/src",
"projectType": "library",
"targets": {
"build": {
"executor": "nx:run-commands",
"outputs": ["{projectRoot}/dist", "{projectRoot}/_ts4.2"],
"options": {
"parallel": false,
"cwd": "packages/scope-manager",
"commands": [
"rimraf _ts4.2",
"tsc -b tsconfig.build.json",
"downlevel-dts dist _ts4.2/dist --to=4.2"
]
}
},
"typecheck": {
"executor": "nx:run-commands",
"options": {
"parallel": true,
"cwd": "packages/scope-manager",
"commands": [
"tsc -p tsconfig.build.json --noEmit",
"tsc -p tsconfig.spec.json --noEmit"
]
}
},
"clean": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"cwd": "packages/scope-manager",
"commands": [
"tsc -b tsconfig.build.json --clean",
"rimraf dist",
"rimraf _ts4.2",
"rimraf _ts3.4",
"rimraf coverage"
]
}
},
"clean-fixtures": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"cwd": "packages/scope-manager",
"commands": ["rimraf -g \"./src/**/fixtures/**/snapshots\""]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/scope-manager/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{projectRoot}/coverage"],
"options": {
"jestConfig": "packages/scope-manager/jest.config.js",
"passWithNoTests": true
}
},
"generate-lib": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"cwd": "packages/scope-manager",
"commands": ["yarn tsx tools/generate-lib.ts"]
}
}
},
"tags": []
}