| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "osm": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "prefix": "app", |
| "schematics": { |
| "@schematics/angular:component": { |
| "style": "scss" |
| } |
| }, |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:browser", |
| "options": { |
| "outputPath": "dist/osm", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.app.json", |
| "allowedCommonJsDependencies": [ |
| "chart.js", |
| "ng-sidebar", |
| "@ctrl/ngx-codemirror", |
| "rbush", |
| "lodash", |
| "jsonpath", |
| "codemirror", |
| "pako", |
| "js-untar", |
| "util", |
| "http-status-codes", |
| "js-yaml" |
| ], |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ], |
| "styles": [ |
| "src/assets/scss/style.scss", |
| "node_modules/ol/ol.css", |
| "node_modules/@fortawesome/fontawesome-free/css/all.min.css" |
| ], |
| "scripts": [ |
| "src/assets/js/tar.js" |
| ], |
| "stylePreprocessorOptions": { |
| "includePaths": [ |
| "node_modules/" |
| ] |
| } |
| }, |
| "configurations": { |
| "production": { |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ], |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "namedChunks": false, |
| "aot": true, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": true, |
| "budgets": [ |
| { |
| "type": "initial", |
| "maximumWarning": "2mb", |
| "maximumError": "5mb" |
| } |
| ] |
| } |
| } |
| }, |
| "serve": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "options": { |
| "browserTarget": "osm:build" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "osm:build:production" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "osm:build" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "src/test.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.spec.json", |
| "karmaConfig": "src/karma.conf.js", |
| "styles": [ |
| "src/styles.css", |
| "node_modules/ol/ol.css" |
| ], |
| "scripts": [], |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ] |
| } |
| }, |
| "e2e": { |
| "builder": "@cypress/schematic:cypress", |
| "options": { |
| "devServerTarget": "osm:serve", |
| "watch": true, |
| "headless": false, |
| "configFile": "e2e//cypress.config.js" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "osm:serve:production" |
| } |
| } |
| }, |
| "lint": { |
| "builder": "@angular-eslint/builder:lint", |
| "options": { |
| "lintFilePatterns": [ |
| "src/**/*.ts", |
| "src/**/*.html" |
| ] |
| } |
| } |
| } |
| }, |
| "osm-e2e": { |
| "root": "e2e/", |
| "projectType": "application", |
| "prefix": "", |
| "architect": { |
| "e2e": { |
| "builder": "@cypress/schematic:cypress", |
| "options": { |
| "devServerTarget": "osm-e2e:serve", |
| "watch": true, |
| "headless": false, |
| "configFile": "e2e//cypress.config.js" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "osm-e2e:serve:production" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "cli": { |
| "schematicCollections": [ |
| "@angular-eslint/schematics" |
| ] |
| } |
| } |