2019-10-24 09:44:29 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"ng-universal-demo": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/browser",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/robots.txt"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/styles.css",
|
2021-03-09 10:36:05 +01:00
|
|
|
"src/material.scss"
|
2019-10-24 09:44:29 +02:00
|
|
|
],
|
|
|
|
"scripts": [
|
2020-10-12 14:54:57 +02:00
|
|
|
"src/assets/common-assets/common/jquery.js",
|
|
|
|
"src/assets/common-assets/common/uikit.min.js",
|
|
|
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
2021-03-09 10:36:05 +01:00
|
|
|
"node_modules/jquery/dist/jquery.js"
|
2019-10-24 09:44:29 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"configurations": {
|
2021-02-12 12:33:49 +01:00
|
|
|
"development": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true
|
|
|
|
},
|
2019-10-24 09:44:29 +02:00
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
2020-09-18 11:19:47 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/index.html",
|
|
|
|
"with": "src/index.prod.html"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/robots.txt",
|
|
|
|
"with": "src/robots.prod.txt"
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|
|
|
|
]
|
2020-06-11 17:52:41 +02:00
|
|
|
},
|
|
|
|
"beta": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.beta.ts"
|
|
|
|
}
|
|
|
|
]
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "ng-universal-demo:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "ng-universal-demo:build:production"
|
2020-06-11 17:52:41 +02:00
|
|
|
},
|
2020-06-24 12:13:29 +02:00
|
|
|
"beta": {
|
2020-06-11 17:52:41 +02:00
|
|
|
"browserTarget": "ng-universal-demo:build:beta"
|
2021-02-12 12:33:49 +01:00
|
|
|
},
|
|
|
|
"development": {
|
|
|
|
"browserTarget": "ng-universal-demo:build:development"
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "ng-universal-demo:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"scripts": [
|
2020-10-12 14:54:57 +02:00
|
|
|
"src/assets/common-assets/common/jquery.js",
|
|
|
|
"src/assets/common-assets/common/uikit.min.js",
|
|
|
|
"src/assets/common-assets/common/uikit-icons.min.js",
|
|
|
|
"node_modules/jquery/dist/jquery.js"
|
2019-10-24 09:44:29 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
2021-03-09 10:36:05 +01:00
|
|
|
"src/styles.css"
|
2019-10-24 09:44:29 +02:00
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/robots.txt"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/server",
|
|
|
|
"main": "src/main.server.ts",
|
|
|
|
"tsConfig": "src/tsconfig.server.json"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
2020-09-18 11:19:47 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/index.html",
|
|
|
|
"with": "src/index.prod.html"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"replace": "src/robots.txt",
|
|
|
|
"with": "src/robots.prod.txt"
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|
|
|
|
]
|
2020-06-11 17:52:41 +02:00
|
|
|
},
|
|
|
|
"beta": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.beta.ts"
|
|
|
|
}
|
|
|
|
]
|
2021-02-12 12:33:49 +01:00
|
|
|
},
|
|
|
|
"development": {}
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ng-universal-demo-e2e": {
|
|
|
|
"root": "e2e",
|
|
|
|
"sourceRoot": "e2e",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.conf.js",
|
|
|
|
"devServerTarget": "ng-universal-demo:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "ng-universal-demo",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:class": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"spec": false,
|
|
|
|
"inlineStyle": true,
|
|
|
|
"inlineTemplate": true,
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "css"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"spec": false,
|
|
|
|
"prefix": "app"
|
|
|
|
},
|
|
|
|
"@schematics/angular:guard": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:module": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:pipe": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:service": {
|
|
|
|
"spec": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|