diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-20 10:44:58 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-20 10:44:58 +0200 |
| commit | a83b518a7a16d93f207bab8ec5c54c14c9493e23 (patch) | |
| tree | c79d5dda1a6aebbbf54af0725a85ded830af8c3e /src/DevHive.Angular/angular.json | |
| parent | 8880e0efec7462f6865e528f01b9973c6e722e8b (diff) | |
| download | DevHive-a83b518a7a16d93f207bab8ec5c54c14c9493e23.tar DevHive-a83b518a7a16d93f207bab8ec5c54c14c9493e23.tar.gz DevHive-a83b518a7a16d93f207bab8ec5c54c14c9493e23.zip | |
Removed Razor, added Angular
Diffstat (limited to 'src/DevHive.Angular/angular.json')
| -rw-r--r-- | src/DevHive.Angular/angular.json | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/DevHive.Angular/angular.json b/src/DevHive.Angular/angular.json new file mode 100644 index 0000000..346be6f --- /dev/null +++ b/src/DevHive.Angular/angular.json @@ -0,0 +1,128 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "Angular": { + "projectType": "application", + "schematics": { + "@schematics/angular:application": { + "strict": true + } + }, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist/Angular", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.app.json", + "aot": true, + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css" + ], + "scripts": [] + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "Angular:build" + }, + "configurations": { + "production": { + "browserTarget": "Angular:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "Angular:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.css" + ], + "scripts": [] + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "tsconfig.app.json", + "tsconfig.spec.json", + "e2e/tsconfig.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "Angular:serve" + }, + "configurations": { + "production": { + "devServerTarget": "Angular:serve:production" + } + } + } + } + } + }, + "defaultProject": "Angular" +} |
