LocationBasedServices/mowesta/pipeline/head This commit looks good
Update web application to use latest Angular version. Replace 3rd party date range picker with new material implementation.
388 lines
12 KiB
JSON
388 lines
12 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"webapp-ng": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"aot": true,
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"polyfills": "src/polyfills.ts",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"node_modules/video.js/dist/video-js.min.css",
|
|
"node_modules/videojs-overlay/dist/videojs-overlay.css"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"baseHref": "/app",
|
|
"browserTarget": "webapp-ng:build",
|
|
"proxyConfig": "proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "webapp-ng:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "webapp-ng: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": [],
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"node_modules/video.js/dist/video-js.min.css",
|
|
"node_modules/videojs-overlay/dist/videojs-overlay.css"
|
|
],
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**", "src/api/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"webapp-ng-e2e": {
|
|
"root": "e2e",
|
|
"sourceRoot": "e2e",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "webapp-ng:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"weather-forecast-today": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/weather-forecast-today",
|
|
"sourceRoot": "projects/weather-forecast-today/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/weather-forecast-today",
|
|
"index": "projects/weather-forecast-today/src/index.html",
|
|
"main": "projects/weather-forecast-today/src/main.ts",
|
|
"polyfills": "projects/weather-forecast-today/src/polyfills.ts",
|
|
"tsConfig": "projects/weather-forecast-today/tsconfig.app.json",
|
|
"aot": true,
|
|
"assets": [
|
|
"projects/weather-forecast-today/src/favicon.ico",
|
|
"projects/weather-forecast-today/src/assets"
|
|
],
|
|
"styles": [
|
|
"projects/weather-forecast-today/src/styles.scss"
|
|
],
|
|
"scripts": [],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"projects/weather-forecast-today/src/"
|
|
]
|
|
}
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/weather-forecast-today/src/environments/environment.ts",
|
|
"with": "projects/weather-forecast-today/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "150kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "weather-forecast-today:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "weather-forecast-today:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "weather-forecast-today:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/weather-forecast-today/src/test.ts",
|
|
"polyfills": "projects/weather-forecast-today/src/polyfills.ts",
|
|
"tsConfig": "projects/weather-forecast-today/tsconfig.spec.json",
|
|
"karmaConfig": "projects/weather-forecast-today/karma.conf.js",
|
|
"assets": [
|
|
"projects/weather-forecast-today/src/favicon.ico",
|
|
"projects/weather-forecast-today/src/assets"
|
|
],
|
|
"styles": [
|
|
"projects/weather-forecast-today/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/weather-forecast-today/tsconfig.app.json",
|
|
"projects/weather-forecast-today/tsconfig.spec.json",
|
|
"projects/weather-forecast-today/e2e/tsconfig.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "projects/weather-forecast-today/e2e/protractor.conf.js",
|
|
"devServerTarget": "weather-forecast-today:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "weather-forecast-today:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"weather-search": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/weather-search",
|
|
"sourceRoot": "projects/weather-search/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/weather-search",
|
|
"index": "projects/weather-search/src/index.html",
|
|
"main": "projects/weather-search/src/main.ts",
|
|
"polyfills": "projects/weather-search/src/polyfills.ts",
|
|
"tsConfig": "projects/weather-search/tsconfig.app.json",
|
|
"aot": true,
|
|
"assets": [
|
|
"projects/weather-search/src/favicon.ico",
|
|
"projects/weather-search/src/assets"
|
|
],
|
|
"styles": [
|
|
"projects/weather-search/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "projects/weather-search/src/environments/environment.ts",
|
|
"with": "projects/weather-search/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "150kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "weather-search:build",
|
|
"proxyConfig": "proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "weather-search:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "weather-search:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/weather-search/src/test.ts",
|
|
"polyfills": "projects/weather-search/src/polyfills.ts",
|
|
"tsConfig": "projects/weather-search/tsconfig.spec.json",
|
|
"karmaConfig": "projects/weather-search/karma.conf.js",
|
|
"assets": [
|
|
"projects/weather-search/src/favicon.ico",
|
|
"projects/weather-search/src/assets"
|
|
],
|
|
"styles": [
|
|
"projects/weather-search/src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"projects/weather-search/tsconfig.app.json",
|
|
"projects/weather-search/tsconfig.spec.json",
|
|
"projects/weather-search/e2e/tsconfig.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "projects/weather-search/e2e/protractor.conf.js",
|
|
"devServerTarget": "weather-search:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "weather-search:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "webapp-ng",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"style": "scss"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app"
|
|
}
|
|
}
|
|
}
|