| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- {
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "cli": {
- "cache": {
- "enabled": false
- },
- "analytics": false
- },
- "newProjectRoot": "projects",
- "projects": {
- "pcoloring-zorro": {
- "projectType": "application",
- "schematics": {
- "@schematics/angular:component": {
- "inlineTemplate": true,
- "inlineStyle": true,
- "style": "less",
- "skipTests": true
- },
- "@schematics/angular:class": {
- "skipTests": true
- },
- "@schematics/angular:directive": {
- "skipTests": true
- },
- "@schematics/angular:guard": {
- "skipTests": true
- },
- "@schematics/angular:interceptor": {
- "skipTests": true
- },
- "@schematics/angular:pipe": {
- "skipTests": true
- },
- "@schematics/angular:resolver": {
- "skipTests": true
- },
- "@schematics/angular:service": {
- "skipTests": true
- },
- "@schematics/angular:application": {
- "strict": true
- }
- },
- "root": "",
- "sourceRoot": "src",
- "prefix": "app",
- "i18n": {
- "sourceLocale": "zh",
- "locales": {
- "en": {
- "translation": "src/locale/messages.en.xlf"
- }
- }
- },
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:browser",
- "options": {
- "localize": true,
- "baseHref": "/app/",
- "outputPath": "../public/app/",
- "index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "tsconfig.app.json",
- "inlineStyleLanguage": "less",
- "assets": [
- "src/favicon.ico",
- "src/assets",
- {
- "glob": "**/*",
- "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
- "output": "/assets/"
- }
- ],
- "styles": [
- "src/assets/bootstrap/bootstrap.scss",
- "src/styles.less",
- "node_modules/pace-js/themes/blue/pace-theme-minimal.css"
- ],
- "scripts": [
- "node_modules/pace-js/pace.min.js",
- "node_modules/@popperjs/core/dist/umd/popper.min.js",
- "node_modules/bootstrap/dist/js/bootstrap.min.js",
- "src/assets/js/pngquant.min.js"
- ],
- "webWorkerTsConfig": "tsconfig.worker.json"
- },
- "configurations": {
- "production": {
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "500kb",
- "maximumError": "3mb"
- },
- {
- "type": "anyComponentStyle",
- "maximumWarning": "2kb",
- "maximumError": "4kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ],
- "outputHashing": "all"
- },
- "development": {
- "buildOptimizer": false,
- "optimization": false,
- "vendorChunk": true,
- "extractLicenses": false,
- "sourceMap": true,
- "namedChunks": true,
- "localize": ["zh"]
- },
- "development-en": {
- "buildOptimizer": false,
- "optimization": false,
- "vendorChunk": true,
- "extractLicenses": false,
- "sourceMap": true,
- "namedChunks": true,
- "localize": ["en"]
- }
- },
- "defaultConfiguration": "production"
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "configurations": {
- "production": {
- "browserTarget": "pcoloring-zorro:build:production"
- },
- "development": {
- "browserTarget": "pcoloring-zorro:build:development"
- },
- "development-en": {
- "browserTarget": "pcoloring-zorro:build:development-en"
- }
- },
- "defaultConfiguration": "development"
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "pcoloring-zorro:build"
- }
- }
- }
- }
- },
- "defaultProject": "pcoloring-zorro"
- }
|