blob: 8341e919ae0a09e6610619c2d20a6d02495564f1 [file] [log] [blame]
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"onos": {
"root": "",
"sourceRoot": "src/main/webapp",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "src/main/webapp/dist",
"index": "src/main/webapp/index.html",
"main": "src/main/webapp/onos.ts",
"tsConfig": "src/main/webapp/tsconfig.app.json",
"polyfills": "src/main/webapp/polyfills.ts",
"assets": [
"src/main/webapp/data",
"src/main/webapp/app/fw/layer/loading.service.css"
],
"styles": ["src/main/webapp/onos.theme.css"],
"scripts": []
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/main/webapp/environments/environment.ts",
"with": "src/main/webapp/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "onos:build"
},
"configurations": {
"production": {
"browserTarget": "onos:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "onos:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/main/webapp/tests/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/main/webapp/polyfills.ts",
"tsConfig": "src/main/webapp/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/main/webapp/app/onos.theme.css"
],
"assets": [
"src/main/webapp/data",
"src/main/webapp/app/fw/layer/loading.service.css"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/main/webapp/tsconfig.app.json",
"src/main/webapp/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"onos-e2e": {
"root": "",
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"devServerTarget": "onos:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "onos",
"schematics": {
"@schematics/angular:component": {
"prefix": "onos",
"styleext": "css"
},
"@schematics/angular:directive": {
"prefix": "onos"
}
}
}