123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- {
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "ng-alain": {
- "projectType": "application",
- "root": "",
- "sourceRoot": "src",
- "prefix": "app",
- "schematics": {
- "@schematics/angular:component": {
- "style": "less"
- },
- "@schematics/angular:application": {
- "strict": true
- }
- },
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:browser",
- "options": {
- "baseHref": "/maxkey/",
- "outputPath": "dist",
- "index": "src/index.html",
- "main": "src/main.ts",
- "tsConfig": "tsconfig.app.json",
- "polyfills": "src/polyfills.ts",
- "assets": ["src/assets", "src/favicon.ico"],
- "styles": ["src/styles.less"],
- "scripts": [],
- "allowedCommonJsDependencies": ["ajv", "ajv-formats"],
- "stylePreprocessorOptions": {
- "includePaths": [
- "node_modules/"
- ]
- }
- },
- "configurations": {
- "production": {
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ],
- "outputHashing": "all",
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "2mb",
- "maximumError": "6mb"
- },
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb",
- "maximumError": "10kb"
- }
- ]
- },
- "development": {
- "buildOptimizer": false,
- "optimization": false,
- "vendorChunk": true,
- "extractLicenses": false,
- "sourceMap": true,
- "namedChunks": true
- }
- },
- "defaultConfiguration": "production"
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "options": {
- "browserTarget": "ng-alain:build",
- "disableHostCheck": true,
- "proxyConfig": "proxy.conf.js"
- },
- "configurations": {
- "production": {
- "browserTarget": "ng-alain:build:production"
- },
- "development": {
- "browserTarget": "ng-alain:build:development"
- }
- },
- "defaultConfiguration": "development"
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "ng-alain:build"
- }
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
- "karmaConfig": "karma.conf.js",
- "tsConfig": "tsconfig.spec.json",
- "scripts": [],
- "styles": [],
- "assets": ["src/assets"]
- }
- },
- "lint": {
- "builder": "@angular-eslint/builder:lint",
- "options": {
- "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
- }
- },
- "e2e": {
- "builder": "@angular-devkit/build-angular:protractor",
- "options": {
- "protractorConfig": "e2e/protractor.conf.js",
- "devServerTarget": "ng-alain:serve"
- },
- "configurations": {
- "production": {
- "devServerTarget": "ng-alain:serve:production"
- }
- }
- }
- }
- }
- },
- "defaultProject": "ng-alain",
- "cli": {
- "packageManager": "yarn"
- }
- }
|