| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "app": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "prefix": "sp", |
| "architect": { |
| "build": { |
| "builder": "@angular-architects/native-federation:build", |
| "options": {}, |
| "configurations": { |
| "production": { |
| "target": "app:esbuild:production" |
| }, |
| "development": { |
| "target": "app:esbuild:development", |
| "dev": true |
| } |
| }, |
| "defaultConfiguration": "production" |
| }, |
| "serve": { |
| "builder": "@angular-architects/native-federation:build", |
| "options": { |
| "target": "app:serve-original:development", |
| "rebuildDelay": 0, |
| "dev": true |
| } |
| }, |
| "esbuild": { |
| "builder": "@angular-devkit/build-angular:application", |
| "options": { |
| "browser": "src/main.ts", |
| "outputPath": "dist/streampipes/ui", |
| "index": "src/index.html", |
| "tsConfig": "src/tsconfig.app.json", |
| "polyfills": ["src/polyfills.ts", "es-module-shims"], |
| "allowedCommonJsDependencies": ["codemirror"], |
| "assets": [ |
| "src/assets", |
| { |
| "glob": "**/*", |
| "input": "node_modules/leaflet/dist/images", |
| "output": "assets/img" |
| } |
| ], |
| "styles": ["src/scss/main.scss"], |
| "scripts": [ |
| "node_modules/jquery/dist/jquery.min.js", |
| "node_modules/jquery-ui-dist/jquery-ui.js", |
| "node_modules/quill/dist/quill.js" |
| ] |
| }, |
| "configurations": { |
| "production": { |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ], |
| "budgets": [ |
| { |
| "type": "anyComponentStyle", |
| "maximumWarning": "6kb" |
| } |
| ], |
| "outputHashing": "all" |
| }, |
| "development": { |
| "optimization": false, |
| "extractLicenses": false, |
| "sourceMap": true, |
| "namedChunks": true |
| } |
| }, |
| "defaultConfiguration": "production" |
| }, |
| "serve-original": { |
| "builder": "@angular-devkit/build-angular:dev-server", |
| "configurations": { |
| "production": { |
| "buildTarget": "app:esbuild:production" |
| }, |
| "development": { |
| "buildTarget": "app:esbuild:development", |
| "proxyConfig": "src/proxy.conf.json", |
| "port": 8082 |
| } |
| }, |
| "defaultConfiguration": "development" |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "app: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/assets"], |
| "scripts": [] |
| } |
| }, |
| "lint": { |
| "builder": "@angular-eslint/builder:lint", |
| "options": { |
| "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] |
| } |
| } |
| } |
| }, |
| "app-e2e": { |
| "root": "e2e", |
| "sourceRoot": "e2e", |
| "projectType": "application" |
| }, |
| "@streampipes/platform-services": { |
| "projectType": "library", |
| "root": "projects/streampipes/platform-services", |
| "sourceRoot": "projects/streampipes/platform-services/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:ng-packagr", |
| "options": { |
| "project": "projects/streampipes/platform-services/ng-package.json" |
| }, |
| "configurations": { |
| "production": { |
| "tsConfig": "projects/streampipes/platform-services/tsconfig.lib.prod.json" |
| }, |
| "development": { |
| "tsConfig": "projects/streampipes/platform-services/tsconfig.lib.json" |
| } |
| }, |
| "defaultConfiguration": "production" |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/streampipes/platform-services/src/test.ts", |
| "tsConfig": "projects/streampipes/platform-services/tsconfig.spec.json", |
| "karmaConfig": "projects/streampipes/platform-services/karma.conf.js" |
| } |
| } |
| } |
| }, |
| "@streampipes/shared-ui": { |
| "projectType": "library", |
| "root": "projects/streampipes/shared-ui", |
| "sourceRoot": "projects/streampipes/shared-ui/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-angular:ng-packagr", |
| "options": { |
| "project": "projects/streampipes/shared-ui/ng-package.json" |
| }, |
| "configurations": { |
| "production": { |
| "tsConfig": "projects/streampipes/shared-ui/tsconfig.lib.prod.json" |
| }, |
| "development": { |
| "tsConfig": "projects/streampipes/shared-ui/tsconfig.lib.json" |
| } |
| }, |
| "defaultConfiguration": "production" |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/streampipes/shared-ui/src/test.ts", |
| "tsConfig": "projects/streampipes/shared-ui/tsconfig.spec.json", |
| "karmaConfig": "projects/streampipes/shared-ui/karma.conf.js" |
| } |
| } |
| } |
| } |
| }, |
| "schematics": { |
| "@schematics/angular:component": { |
| "style": "scss" |
| } |
| }, |
| "cli": { |
| "schematicCollections": ["@angular-eslint/schematics"], |
| "analytics": false |
| } |
| } |