on master help sign in
bw-clients/angular.json
81 lines 2.6 kB history raw
1{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "newProjectRoot": "apps",
5 "projects": {
6 "components": {
7 "projectType": "application",
8 "schematics": {
9 "@schematics/angular:application": {
10 "strict": true
11 }
12 },
13 "root": "./libs/components",
14 "sourceRoot": "libs/components/src",
15 "prefix": "components",
16 "architect": {
17 "build": {
18 "builder": "@angular-devkit/build-angular:browser",
19 "options": {
20 "outputPath": "dist/components",
21 "index": "libs/components/src/index.html",
22 "main": "libs/components/src/main.ts",
23 "polyfills": "libs/components/src/polyfills.ts",
24 "tsConfig": "libs/components/tsconfig.app.json",
25 "assets": ["libs/components/src/favicon.ico", "libs/components/src/assets"],
26 "styles": ["libs/components/src/styles.scss", "libs/components/src/styles.css"],
27 "stylePreprocessorOptions": {
28 "includePaths": ["libs/components/src/styles"]
29 },
30 "scripts": []
31 },
32 "configurations": {
33 "production": {
34 "budgets": [
35 {
36 "type": "initial",
37 "maximumWarning": "500kb",
38 "maximumError": "1mb"
39 },
40 {
41 "type": "anyComponentStyle",
42 "maximumWarning": "2kb",
43 "maximumError": "4kb"
44 }
45 ],
46 "outputHashing": "all"
47 },
48 "development": {
49 "buildOptimizer": false,
50 "optimization": false,
51 "vendorChunk": true,
52 "extractLicenses": false,
53 "sourceMap": true,
54 "namedChunks": true
55 }
56 },
57 "defaultConfiguration": "production"
58 },
59 "serve": {
60 "builder": "@angular-devkit/build-angular:dev-server",
61 "configurations": {
62 "production": {
63 "browserTarget": "components:build:production"
64 },
65 "development": {
66 "browserTarget": "components:build:development"
67 }
68 },
69 "defaultConfiguration": "development"
70 },
71 "extract-i18n": {
72 "builder": "@angular-devkit/build-angular:extract-i18n",
73 "options": {
74 "browserTarget": "components:build"
75 }
76 }
77 }
78 }
79 },
80 "defaultProject": "components"