| { |
| "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| "version": 1, |
| "newProjectRoot": "projects", |
| "projects": { |
| "zeppelin": { |
| "root": "", |
| "sourceRoot": "src", |
| "projectType": "application", |
| "prefix": "zeppelin", |
| "schematics": { |
| "@schematics/angular:component": { |
| "style": "less", |
| "skipTests": true, |
| "changeDetection": "OnPush" |
| }, |
| "ng-zorro-antd:component": { |
| "style": "less", |
| "skipTests": true, |
| "changeDetection": "OnPush", |
| "classnameWithModule": true |
| }, |
| "@schematics/angular:class": { |
| "skipTests": true |
| }, |
| "@schematics/angular:directive": { |
| "skipTests": true |
| }, |
| "@schematics/angular:guard": { |
| "skipTests": true |
| }, |
| "@schematics/angular:module": { |
| "skipTests": true |
| }, |
| "@schematics/angular:pipe": { |
| "skipTests": true |
| }, |
| "@schematics/angular:service": { |
| "skipTests": true |
| } |
| }, |
| "architect": { |
| "build": { |
| "builder": "ngx-build-plus:browser", |
| "options": { |
| "outputPath": "dist/zeppelin", |
| "index": "src/index.html", |
| "main": "src/main.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.app.json", |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets", |
| { |
| "glob": "**/*", |
| "input": "./node_modules/mathjax", |
| "output": "/" |
| }, |
| { |
| "glob": "**/*", |
| "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/", |
| "output": "/assets/" |
| }, |
| { |
| "glob": "**/*", |
| "input": "./WEB-INF", |
| "output": "/WEB-INF/" |
| } |
| ], |
| "styles": [ |
| "src/styles/theme/dark/antd-dark.less", |
| "src/styles/theme/light/antd-light.less", |
| "src/styles.less", |
| "./node_modules/highlight.js/styles/github.css", |
| "./node_modules/monaco-editor/min/vs/editor/editor.main.css", |
| "./node_modules/github-markdown-css/github-markdown.css" |
| ], |
| "stylePreprocessorOptions": { |
| "includePaths": [ |
| "src/styles/theme", |
| "src/styles/theme/dark", |
| "src/styles/theme/light" |
| ] |
| }, |
| "scripts": [ |
| "node_modules/mathjax/MathJax.js", |
| "node_modules/systemjs/dist/s.js", |
| "node_modules/systemjs/dist/extras/amd.js", |
| "node_modules/systemjs/dist/extras/named-register.js", |
| "node_modules/systemjs/dist/extras/use-default.js" |
| ] |
| }, |
| "configurations": { |
| "production": { |
| "fileReplacements": [ |
| { |
| "replace": "src/environments/environment.ts", |
| "with": "src/environments/environment.prod.ts" |
| } |
| ], |
| "optimization": true, |
| "outputHashing": "all", |
| "sourceMap": false, |
| "extractCss": true, |
| "namedChunks": false, |
| "aot": true, |
| "extractLicenses": true, |
| "vendorChunk": false, |
| "buildOptimizer": false |
| } |
| } |
| }, |
| "serve": { |
| "builder": "ngx-build-plus:dev-server", |
| "options": { |
| "browserTarget": "zeppelin:build" |
| }, |
| "configurations": { |
| "production": { |
| "browserTarget": "zeppelin:build:production" |
| } |
| } |
| }, |
| "extract-i18n": { |
| "builder": "@angular-devkit/build-angular:extract-i18n", |
| "options": { |
| "browserTarget": "zeppelin:build" |
| } |
| }, |
| "test": { |
| "builder": "ngx-build-plus:karma", |
| "options": { |
| "main": "src/test.ts", |
| "polyfills": "src/polyfills.ts", |
| "tsConfig": "src/tsconfig.spec.json", |
| "karmaConfig": "src/karma.conf.js", |
| "styles": [ |
| "src/styles.less" |
| ], |
| "scripts": [], |
| "assets": [ |
| "src/favicon.ico", |
| "src/assets" |
| ] |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "src/tsconfig.app.json", |
| "src/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "zeppelin-e2e": { |
| "root": "e2e/", |
| "projectType": "application", |
| "prefix": "", |
| "architect": { |
| "e2e": { |
| "builder": "@angular-devkit/build-angular:protractor", |
| "options": { |
| "protractorConfig": "e2e/protractor.conf.js", |
| "devServerTarget": "zeppelin:serve" |
| }, |
| "configurations": { |
| "production": { |
| "devServerTarget": "zeppelin:serve:production" |
| } |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": "e2e/tsconfig.e2e.json", |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "zeppelin-helium": { |
| "projectType": "library", |
| "root": "projects/zeppelin-helium", |
| "sourceRoot": "projects/zeppelin-helium/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-ng-packagr:build", |
| "options": { |
| "tsConfig": "projects/zeppelin-helium/tsconfig.lib.json", |
| "project": "projects/zeppelin-helium/ng-package.json" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/zeppelin-helium/src/test.ts", |
| "tsConfig": "projects/zeppelin-helium/tsconfig.spec.json", |
| "karmaConfig": "projects/zeppelin-helium/karma.conf.js" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "projects/zeppelin-helium/tsconfig.lib.json", |
| "projects/zeppelin-helium/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "helium-vis-example": { |
| "projectType": "library", |
| "root": "projects/helium-vis-example", |
| "sourceRoot": "projects/helium-vis-example/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-ng-packagr:build", |
| "options": { |
| "tsConfig": "projects/helium-vis-example/tsconfig.lib.json", |
| "project": "projects/helium-vis-example/ng-package.json" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/helium-vis-example/src/test.ts", |
| "tsConfig": "projects/helium-vis-example/tsconfig.spec.json", |
| "karmaConfig": "projects/helium-vis-example/karma.conf.js" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "projects/helium-vis-example/tsconfig.lib.json", |
| "projects/helium-vis-example/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "zeppelin-visualization": { |
| "projectType": "library", |
| "root": "projects/zeppelin-visualization", |
| "sourceRoot": "projects/zeppelin-visualization/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-ng-packagr:build", |
| "options": { |
| "tsConfig": "projects/zeppelin-visualization/tsconfig.lib.json", |
| "project": "projects/zeppelin-visualization/ng-package.json" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/zeppelin-visualization/src/test.ts", |
| "tsConfig": "projects/zeppelin-visualization/tsconfig.spec.json", |
| "karmaConfig": "projects/zeppelin-visualization/karma.conf.js" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "projects/zeppelin-visualization/tsconfig.lib.json", |
| "projects/zeppelin-visualization/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| }, |
| "zeppelin-sdk": { |
| "projectType": "library", |
| "root": "projects/zeppelin-sdk", |
| "sourceRoot": "projects/zeppelin-sdk/src", |
| "prefix": "lib", |
| "architect": { |
| "build": { |
| "builder": "@angular-devkit/build-ng-packagr:build", |
| "options": { |
| "tsConfig": "projects/zeppelin-sdk/tsconfig.lib.json", |
| "project": "projects/zeppelin-sdk/ng-package.json" |
| } |
| }, |
| "test": { |
| "builder": "@angular-devkit/build-angular:karma", |
| "options": { |
| "main": "projects/zeppelin-sdk/src/test.ts", |
| "tsConfig": "projects/zeppelin-sdk/tsconfig.spec.json", |
| "karmaConfig": "projects/zeppelin-sdk/karma.conf.js" |
| } |
| }, |
| "lint": { |
| "builder": "@angular-devkit/build-angular:tslint", |
| "options": { |
| "tsConfig": [ |
| "projects/zeppelin-sdk/tsconfig.lib.json", |
| "projects/zeppelin-sdk/tsconfig.spec.json" |
| ], |
| "exclude": [ |
| "**/node_modules/**" |
| ] |
| } |
| } |
| } |
| } |
| }, |
| "defaultProject": "zeppelin" |
| } |