gns3-web-ui/angular.json

252 lines
7.4 KiB
JSON
Raw Normal View History

2018-07-06 09:31:44 +00:00
{
"$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": {
2020-07-06 15:02:12 +00:00
"allowedCommonJsDependencies": [
"rxjs",
"rxjs-compat",
"uuid",
"css-tree",
"save-svg-as-png",
"angular-draggable-droppable",
"angular2-hotkeys",
"dom-set",
"dom-plane",
"mousetrap",
"@mattlewis92/dom-autoscroller",
"rxjs/Rx",
"rxjs/add/operator/map",
"rxjs-compat/add/operator/map"
],
2020-06-30 08:42:31 +00:00
"aot": true,
2018-07-06 09:31:44 +00:00
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
2019-11-26 10:39:24 +00:00
"extractCss": true,
2018-07-06 09:31:44 +00:00
"assets": [
"src/assets",
2019-06-28 07:46:44 +00:00
"src/favicon.ico",
"src/ReleaseNotes.txt"
2018-07-06 09:31:44 +00:00
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
2018-07-19 08:42:04 +00:00
"node_modules/notosans-fontface/css/notosans-fontface.min.css",
2018-07-06 09:31:44 +00:00
"src/styles.css",
2019-11-26 10:39:24 +00:00
{
2020-06-30 08:42:31 +00:00
"inject": false,
2019-11-26 10:39:24 +00:00
"input": "src/theme.scss",
"bundleName": "theme-default-dark"
},
{
2020-06-30 08:42:31 +00:00
"inject": false,
2019-11-26 10:39:24 +00:00
"input": "src/theme-light.scss",
"bundleName": "theme-default"
}
2018-07-06 09:31:44 +00:00
],
"scripts": []
},
"configurations": {
"production": {
2020-06-30 08:42:31 +00:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
2018-07-06 09:31:44 +00:00
"optimization": true,
"outputHashing": "all",
"sourceMap": {
"hidden": true,
"scripts": true,
"styles": false
},
2018-07-06 09:31:44 +00:00
"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": {
2020-06-30 08:42:31 +00:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
2018-07-06 09:31:44 +00:00
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
2018-07-06 09:31:44 +00:00
"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": {
2020-06-30 08:42:31 +00:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
2018-07-06 09:31:44 +00:00
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.electron.ts"
}
]
},
"githubProd": {
2020-06-30 08:42:31 +00:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
2018-07-06 09:31:44 +00:00
"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",
2018-07-19 08:42:04 +00:00
"node_modules/notosans-fontface/css/notosans-fontface.min.css",
2018-07-06 09:31:44 +00:00
"src/styles.css",
"src/theme.scss"
],
"assets": [
"src/assets",
"src/favicon.ico"
2018-11-27 10:31:12 +00:00
],
"codeCoverageExclude": [
"src/app/cartography/components/experimental-map/**/*"
2018-07-06 09:31:44 +00:00
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
2020-06-30 11:30:48 +00:00
"**/node_modules/**",
"**/*.spec.ts"
2018-07-06 09:31:44 +00:00
]
}
}
}
},
"gns3-web-ui-e2e": {
2018-10-31 09:55:55 +00:00
"root": "e2e",
2018-07-06 09:31:44 +00:00
"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",
2020-06-30 08:42:31 +00:00
"style": "scss"
2018-07-06 09:31:44 +00:00
},
"@schematics/angular:directive": {
"prefix": "app"
}
2020-06-30 08:42:31 +00:00
},
"cli": {
"analytics": false
2018-07-06 09:31:44 +00:00
}
2020-06-30 08:42:31 +00:00
}