-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
86 lines (86 loc) · 2.48 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
79
80
81
82
83
84
85
86
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "sample-app",
"prefix": "sample-app",
"projectType": "application",
"sourceRoot": "apps/sample-app/src",
"tags": [],
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/sample-app",
"index": "apps/sample-app/src/index.html",
"main": "apps/sample-app/src/main.ts",
"polyfills": "apps/sample-app/src/polyfills.ts",
"tsConfig": "apps/sample-app/tsconfig.app.json",
"assets": [
"apps/sample-app/src/favicon.ico",
"apps/sample-app/src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/purple-green.css",
"apps/sample-app/src/styles.css"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "apps/sample-app/src/environments/environment.ts",
"with": "apps/sample-app/src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "sample-app:build:production"
},
"development": {
"buildTarget": "sample-app:build:development"
}
},
"defaultConfiguration": "development"
},
"lint": {
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@angular-devkit/build-angular:karma",
"options": {
"codeCoverage": true,
"main": "apps/sample-app/src/test.ts",
"tsConfig": "apps/sample-app/tsconfig.spec.json",
"karmaConfig": "apps/sample-app/karma.conf.js"
}
}
}
}