173 lines
5.0 KiB
JSON
173 lines
5.0 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"quickstart-angular2": {
|
|
"root": "",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"polyfills": "src/polyfills.ts",
|
|
"assets": [{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "favicon.ico",
|
|
"input": "src",
|
|
"output": "/"
|
|
}
|
|
],
|
|
"styles": [{
|
|
"input": "node_modules/font-awesome/scss/font-awesome.scss"
|
|
},
|
|
{
|
|
"input": "scss/bootstrap/bootstrap.scss"
|
|
},
|
|
{
|
|
"input": "scss/mdb.scss"
|
|
},
|
|
{
|
|
"input": "src/styles.scss"
|
|
},
|
|
{
|
|
"input": "node_modules/videogular2/fonts/videogular.css"
|
|
}
|
|
],
|
|
"scripts": [{
|
|
"input": "node_modules/chart.js/dist/Chart.js"
|
|
},
|
|
{
|
|
"input": "node_modules/easy-pie-chart/dist/easypiechart.js"
|
|
},
|
|
{
|
|
"input": "node_modules/screenfull/dist/screenfull.js"
|
|
},
|
|
{
|
|
"input": "node_modules/hammerjs/hammer.min.js"
|
|
}
|
|
]
|
|
},
|
|
"configurations": {
|
|
"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"
|
|
}]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "quickstart-angular2:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "quickstart-angular2:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "quickstart-angular2: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": [
|
|
"node_modules/chart.js/dist/Chart.js",
|
|
"node_modules/easy-pie-chart/dist/easypiechart.js",
|
|
"node_modules/screenfull/dist/screenfull.js",
|
|
"node_modules/hammerjs/hammer.min.js"
|
|
],
|
|
"styles": [
|
|
"node_modules/font-awesome/scss/font-awesome.scss",
|
|
"scss/bootstrap/bootstrap.scss",
|
|
"scss/mdb.scss",
|
|
"src/styles.scss"
|
|
],
|
|
"assets": [{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "favicon.ico",
|
|
"input": "src",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"quickstart-angular2-e2e": {
|
|
"root": "",
|
|
"projectType": "application",
|
|
"cli": {},
|
|
"schematics": {},
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "quickstart-angular2:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"styleext": "scss"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app"
|
|
}
|
|
}
|
|
} |