{ "version": 1, "cli": { "defaultCollection": "@nrwl/angular" }, "defaultProject": "dafa-web", "schematics": { "@nrwl/angular": { "application": { "linter": "eslint" }, "library": { "linter": "eslint" }, "storybook-configuration": { "linter": "eslint" } }, "@nrwl/angular:application": { "style": "scss", "linter": "eslint", "unitTestRunner": "jest", "e2eTestRunner": "cypress" }, "@nrwl/angular:library": { "style": "scss", "linter": "eslint", "unitTestRunner": "jest" }, "@nrwl/angular:component": { "style": "scss" } }, "projects": { "dafa-web": { "projectType": "application", "root": "apps/dafa-web", "sourceRoot": "apps/dafa-web/src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist/apps/dafa-web", "index": "apps/dafa-web/src/index.html", "main": "apps/dafa-web/src/main.ts", "polyfills": "apps/dafa-web/src/polyfills.ts", "tsConfig": "apps/dafa-web/tsconfig.app.json", "aot": true, "assets": [ "apps/dafa-web/src/favicon.ico", "apps/dafa-web/src/assets" ], "styles": ["apps/dafa-web/src/styles.scss"], "scripts": [] }, "configurations": { "production": { "fileReplacements": [ { "replace": "apps/dafa-web/src/environments/environment.ts", "with": "apps/dafa-web/src/environments/environment.prod.ts" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "5mb" }, { "type": "anyComponentStyle", "maximumWarning": "6kb", "maximumError": "10kb" } ] } } }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "browserTarget": "dafa-web:build" }, "configurations": { "production": { "browserTarget": "dafa-web:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "dafa-web:build" } }, "lint": { "builder": "@nrwl/linter:eslint", "options": { "lintFilePatterns": [ "apps/dafa-web/src/**/*.ts", "apps/dafa-web/src/**/*.html" ] } }, "test": { "builder": "@nrwl/jest:jest", "outputs": ["coverage/apps/dafa-web"], "options": { "jestConfig": "apps/dafa-web/jest.config.js", "passWithNoTests": true } } } }, "dafa-web-e2e": { "root": "apps/dafa-web-e2e", "sourceRoot": "apps/dafa-web-e2e/src", "projectType": "application", "architect": { "e2e": { "builder": "@nrwl/cypress:cypress", "options": { "cypressConfig": "apps/dafa-web-e2e/cypress.json", "tsConfig": "apps/dafa-web-e2e/tsconfig.e2e.json", "devServerTarget": "dafa-web:serve" }, "configurations": { "production": { "devServerTarget": "dafa-web:serve:production" } } }, "lint": { "builder": "@nrwl/linter:eslint", "options": { "lintFilePatterns": ["apps/dafa-web-e2e/**/*.{js,ts}"] } } } } } }