mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-27 16:28:50 +00:00
190 lines
5.6 KiB
JSON
190 lines
5.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"gns3-web-ui": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"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": [
|
|
"src/assets",
|
|
"src/favicon.ico"
|
|
],
|
|
"styles": [
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
"node_modules/notosans-fontface/css/notosans-fontface.min.css",
|
|
"src/styles.css",
|
|
"src/theme.scss"
|
|
],
|
|
"scripts": []
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"electronProd": {
|
|
"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.electron.prod.ts"
|
|
}
|
|
]
|
|
},
|
|
"electronDev": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.electron.ts"
|
|
}
|
|
]
|
|
},
|
|
"githubProd": {
|
|
"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.github.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "gns3-web-ui:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "gns3-web-ui:build:production"
|
|
},
|
|
"electronProd": {
|
|
"browserTarget": "gns3-web-ui:build:electronProd"
|
|
},
|
|
"electronDev": {
|
|
"browserTarget": "gns3-web-ui:build:electronDev"
|
|
},
|
|
"githubProd": {
|
|
"browserTarget": "gns3-web-ui:build:githubProd"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "gns3-web-ui: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": [
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css",
|
|
"node_modules/notosans-fontface/css/notosans-fontface.min.css",
|
|
"src/styles.css",
|
|
"src/theme.scss"
|
|
],
|
|
"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/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"gns3-web-ui-e2e": {
|
|
"root": "e2e",
|
|
"sourceRoot": "e2e",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "gns3-web-ui:serve"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "gns3-web-ui",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "app",
|
|
"styleext": "scss"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "app"
|
|
}
|
|
}
|
|
}
|