-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspace.json
More file actions
108 lines (108 loc) · 2.92 KB
/
workspace.json
File metadata and controls
108 lines (108 loc) · 2.92 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"version": 2,
"cli": {
"defaultCollection": "@nrwl/react"
},
"defaultProject": "cra-to-nx-bugs",
"generators": {
"@nrwl/react": {
"application": {
"style": "css",
"linter": "eslint",
"babel": true
},
"component": {
"style": "css"
},
"library": {
"style": "css",
"linter": "eslint"
}
}
},
"projects": {
"cra-to-nx-bugs": {
"root": "apps/cra-to-nx-bugs",
"sourceRoot": "apps/cra-to-nx-bugs/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"outputs": [
"{options.outputPath}"
],
"options": {
"command": "node ../../node_modules/react-app-rewired/bin/index.js build",
"cwd": "apps/cra-to-nx-bugs",
"outputPath": "dist/apps/cra-to-nx-bugs"
}
},
"serve": {
"executor": "@nrwl/workspace:run-commands",
"outputs": [],
"options": {
"command": "node ../../node_modules/react-app-rewired/bin/index.js start",
"cwd": "apps/cra-to-nx-bugs"
}
},
"lint": {
"executor": "@nrwl/workspace:run-commands",
"outputs": [],
"options": {
"command": "node ../../node_modules/.bin/eslint src/**/*.tsx src/**/*.ts",
"cwd": "apps/cra-to-nx-bugs"
}
},
"test": {
"executor": "@nrwl/workspace:run-commands",
"outputs": [],
"options": {
"command": "node ../../node_modules/react-app-rewired/bin/index.js test --watchAll=false",
"cwd": "apps/cra-to-nx-bugs"
}
}
}
},
"cra-to-nx-bugs-e2e": {
"root": "apps/cra-to-nx-bugs-e2e",
"sourceRoot": "apps/cra-to-nx-bugs-e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"nx e2e-serve cra-to-nx-bugs-e2e",
"nx e2e-run cra-to-nx-bugs-e2e"
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/cra-to-nx-bugs-e2e/**/*.{js,ts}"
]
}
},
"e2e-run": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/cra-to-nx-bugs-e2e/cypress.json",
"tsConfig": "apps/cra-to-nx-bugs-e2e/tsconfig.e2e.json",
"baseUrl": "http://localhost:3000"
}
},
"e2e-serve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"nx serve cra-to-nx-bugs"
],
"readyWhen": "can now view"
}
}
}
}
}
}