|
- {
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "himp.platform.angular": {
- "projectType": "application",
- "schematics": {
- "@schematics/angular:component": {
- "skipTests": false,
- "flat": false,
- "inlineStyle": true,
- "inlineTemplate": false,
- "style": "less"
- },
- "ng-alain:module": {
- "routing": true
- },
- "ng-alain:list": {
- "skipTests": false
- },
- "ng-alain:edit": {
- "skipTests": false,
- "modal": true
- },
- "ng-alain:view": {
- "skipTests": false,
- "modal": true
- },
- "ng-alain:curd": {
- "skipTests": false
- },
- "@schematics/angular:module": {
- "routing": true
- },
- "@schematics/angular:directive": {
- "skipTests": false
- },
- "@schematics/angular:service": {
- "skipTests": false
- }
- },
- "root": "",
- "sourceRoot": "src",
- "prefix": "app",
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:application",
- "options": {
- "outputPath": "dist/himp.platform.angular",
- "index": "src/index.html",
- "browser": "src/main.ts",
- "polyfills": [
- "zone.js"
- ],
- "tsConfig": "tsconfig.app.json",
- "inlineStyleLanguage": "less",
- "assets": [
- "src/favicon.ico",
- "src/assets"
- ],
- "styles": [
- "src/styles.less"
- ],
- "scripts": [ "node_modules/echarts/dist/echarts.js"],
- "allowedCommonJsDependencies": [
- "ajv",
- "ajv-formats",
- "extend",
- "file-saver",
- "mockjs"
- ],
- "stylePreprocessorOptions": {
- "includePaths": [
- "node_modules/"
- ]
- }
- },
- "configurations": {
- "production": {
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "2mb",
- "maximumError": "6mb"
- },
- {
- "type": "anyComponentStyle",
- "maximumWarning": "2kb",
- "maximumError": "4kb"
- }
- ],
- "outputHashing": "all",
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ]
- },
- "development": {
- "optimization": false,
- "extractLicenses": false,
- "sourceMap": true
- }
- },
- "defaultConfiguration": "production"
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "configurations": {
- "production": {
- "buildTarget": "himp.platform.angular:build:production"
- },
- "development": {
- "buildTarget": "himp.platform.angular:build:development"
- }
- },
- "defaultConfiguration": "development",
- "options": {
- "proxyConfig": "proxy.conf.js"
- }
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "buildTarget": "himp.platform.angular:build"
- }
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "polyfills": [
- "zone.js",
- "zone.js/testing"
- ],
- "tsConfig": "tsconfig.spec.json",
- "inlineStyleLanguage": "less",
- "assets": [
- "src/favicon.ico",
- "src/assets"
- ],
- "styles": [
- "src/styles.less"
- ],
- "scripts": []
- }
- },
- "lint": {
- "builder": "@angular-eslint/builder:lint",
- "options": {
- "lintFilePatterns": [
- "src/**/*.ts",
- "src/**/*.html"
- ]
- }
- }
- }
- }
- },
- "cli": {
- "analytics": false,
- "schematicCollections": [
- "@schematics/angular",
- "ng-alain"
- ]
- }
- }
|