-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkspace.json
116 lines (116 loc) · 3.06 KB
/
workspace.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
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
109
110
111
112
113
114
115
116
{
"version": 1,
"projects": {
"site": {
"root": "apps/site",
"sourceRoot": "apps/site/src",
"projectType": "application",
"schematics": {},
"architect": {
"build": {
"builder": "@nrwl/web:build",
"options": {
"outputPath": "dist/apps/site",
"index": "apps/site/src/index.html",
"main": "apps/site/src/main.tsx",
"polyfills": "apps/site/src/polyfills.ts",
"tsConfig": "apps/site/tsconfig.app.json",
"assets": ["apps/site/src/favicon.ico", "apps/site/src/assets"],
"styles": ["apps/site/src/styles.css"],
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/site/src/environments/environment.ts",
"with": "apps/site/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"command": "snowpack dev"
},
"configurations": {
"production": {
"buildTarget": "site:build:production"
}
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/site/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/site/jest.config.js",
"passWithNoTests": true
}
}
}
},
"mylib": {
"root": "libs/mylib",
"sourceRoot": "libs/mylib/src",
"projectType": "library",
"schematics": {},
"architect": {
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/mylib/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "libs/mylib/jest.config.js",
"passWithNoTests": true
}
}
}
}
},
"cli": {
"defaultCollection": "@nrwl/react"
},
"schematics": {
"@nrwl/react": {
"application": {
"style": "css",
"linter": "eslint",
"babel": true
},
"component": {
"style": "css"
},
"library": {
"style": "css",
"linter": "eslint"
}
}
},
"defaultProject": "site"
}