361 lines
11 KiB
JSON
361 lines
11 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"explore": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"schematics": {
|
|
"@schematics/angular:class": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:component": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:guard": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:module": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"skipTests": true
|
|
},
|
|
"@schematics/angular:service": {
|
|
"skipTests": true
|
|
}
|
|
},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"aot": true,
|
|
"outputPath": "dist/explore/browser",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/robots.txt",
|
|
"src/manifest.json",
|
|
"src/OpenSearchDescriptor.xml",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/sitemaps",
|
|
"output": "/"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.css",
|
|
"src/material.scss"
|
|
],
|
|
"scripts": [
|
|
"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"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.test.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"beta": {
|
|
"assets": [
|
|
"src/assets",
|
|
"src/manifest.json",
|
|
{
|
|
"input": "src/beta/",
|
|
"output": "/",
|
|
"glob": "*.txt"
|
|
},
|
|
"src/OpenSearchDescriptor.xml",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/sitemaps",
|
|
"output": "/"
|
|
}
|
|
],
|
|
"index": {
|
|
"input": "src/beta/index.html",
|
|
"output": "index.html"
|
|
},
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"assets": [
|
|
"src/assets",
|
|
"src/manifest.json",
|
|
{
|
|
"input": "src/prod/",
|
|
"output": "/",
|
|
"glob": "*.txt"
|
|
},
|
|
"src/OpenSearchDescriptor.xml",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/sitemaps",
|
|
"output": "/"
|
|
}
|
|
],
|
|
"index": {
|
|
"input": "src/prod/index.html",
|
|
"output": "index.html"
|
|
},
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "explore:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "explore:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "explore:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"karmaConfig": "src/karma.conf.js",
|
|
"styles": [
|
|
"src/styles.css"
|
|
],
|
|
"scripts": [],
|
|
"assets": [
|
|
"src/assets"
|
|
]
|
|
}
|
|
},
|
|
"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/explore/server",
|
|
"main": "server.ts",
|
|
"tsConfig": "src/tsconfig.server.json"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"outputHashing": "media",
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
},
|
|
"test": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.test.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
},
|
|
"beta": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.beta.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
},
|
|
"production": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
}
|
|
}
|
|
},
|
|
"serve-ssr": {
|
|
"builder": "@nguniversal/builders:ssr-dev-server",
|
|
"options": {
|
|
"browserTarget": "explore:build",
|
|
"serverTarget": "explore:server"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "explore:build:production",
|
|
"serverTarget": "explore:server:production"
|
|
}
|
|
}
|
|
},
|
|
"prerender": {
|
|
"builder": "@nguniversal/builders:prerender",
|
|
"options": {
|
|
"browserTarget": "explore:build:production",
|
|
"serverTarget": "explore:server:production",
|
|
"routes": [
|
|
"/"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"explore-e2e": {
|
|
"root": "e2e/",
|
|
"projectType": "application",
|
|
"prefix": "",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "explore:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "explore:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "explore"
|
|
}
|