forked from spryker-shop/suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
99 lines (99 loc) · 3.83 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
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "merchant-portal",
"$schema": "node_modules/nx/schemas/project-schema.json",
"sourceRoot": ".",
"projectType": "application",
"prefix": "mp",
"generators": {},
"targets": {
"build": {
"executor": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./frontend/merchant-portal/webpack.config.ts",
"mergeRules": {}
},
"indexTransform": "./frontend/merchant-portal/html-transform.js",
"outputPath": "public/MerchantPortal/assets/js",
"baseHref": "/assets/js/",
"index": "src/Pyz/Zed/ZedUi/Presentation/Components/index.html",
"main": "src/Pyz/Zed/ZedUi/Presentation/Components/main.ts",
"polyfills": "src/Pyz/Zed/ZedUi/Presentation/Components/polyfills.ts",
"tsConfig": "tsconfig.mp.json",
"assets": [
{
"glob": "*/src/Spryker/Zed/*/Presentation/Components/assets/**/*",
"input": "vendor/spryker/spryker/Bundles",
"output": "/assets/"
},
{
"glob": "*/Presentation/Components/assets/**/*",
"input": "src/Pyz/Zed",
"output": "/assets/"
}
],
"styles": [
"vendor/spryker/zed-ui/src/Spryker/Zed/ZedUi/Presentation/Components/styles.less",
"src/Pyz/Zed/ZedUi/Presentation/Components/styles.less"
],
"scripts": []
},
"configurations": {
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"production": {
"fileReplacements": [
{
"replace": "src/Pyz/Zed/ZedUi/Presentation/Components/environments/environment.ts",
"with": "src/Pyz/Zed/ZedUi/Presentation/Components/environments/environment.prod.ts"
}
],
"optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
}
},
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true,
"budgets": [
{
"type": "bundle",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
},
"defaultConfiguration": "development"
},
"lint": {
"executor": "@nx/eslint:lint",
"options": {
"eslintConfig": ".eslintrc.mp.json",
"lintFilePatterns": [
"src/Pyz/Zed/*/Presentation/Components/**/*.ts",
"src/Pyz/Zed/*/Presentation/Components/**/*.html"
],
"noEslintrc": true
}
},
"test": {
"executor": "@nx/jest:jest",
"options": {
"jestConfig": "frontend/merchant-portal/jest.config.ts"
}
}
}
}