Commit c29a3caf3c5cb7a397a81fcc13cdad5c2e63e287
1 parent
c6f805b12e
Exists in
master
dependencias.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
angular.json
1 | { | 1 | { |
2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
3 | "version": 1, | 3 | "version": 1, |
4 | "newProjectRoot": "projects", | 4 | "newProjectRoot": "projects", |
5 | "projects": { | 5 | "projects": { |
6 | "Frontend-Imagenes": { | 6 | "Frontend-Imagenes": { |
7 | "projectType": "application", | 7 | "projectType": "application", |
8 | "schematics": { | 8 | "schematics": { |
9 | "@schematics/angular:component": { | 9 | "@schematics/angular:component": { |
10 | "style": "scss" | 10 | "style": "scss" |
11 | } | 11 | } |
12 | }, | 12 | }, |
13 | "root": "", | 13 | "root": "", |
14 | "sourceRoot": "src", | 14 | "sourceRoot": "src", |
15 | "prefix": "app", | 15 | "prefix": "app", |
16 | "architect": { | 16 | "architect": { |
17 | "build": { | 17 | "build": { |
18 | "builder": "@angular-devkit/build-angular:browser", | 18 | "builder": "@angular-devkit/build-angular:browser", |
19 | "options": { | 19 | "options": { |
20 | "outputPath": "dist/Frontend-Imagenes", | 20 | "outputPath": "dist/Frontend-Imagenes", |
21 | "index": "src/index.html", | 21 | "index": "src/index.html", |
22 | "main": "src/main.ts", | 22 | "main": "src/main.ts", |
23 | "polyfills": "src/polyfills.ts", | 23 | "polyfills": "src/polyfills.ts", |
24 | "tsConfig": "tsconfig.app.json", | 24 | "tsConfig": "tsconfig.app.json", |
25 | "aot": false, | 25 | "aot": false, |
26 | "assets": [ | 26 | "assets": [ |
27 | "src/favicon.ico", | 27 | "src/favicon.ico", |
28 | "src/assets" | 28 | "src/assets" |
29 | ], | 29 | ], |
30 | "styles": [ | 30 | "styles": [ |
31 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", | 31 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
32 | "src/styles.scss" | 32 | "src/styles.scss" |
33 | ], | 33 | ], |
34 | "scripts": [ | 34 | "scripts": [ |
35 | "node_modules/jquery/dist/jquery.slim.min.js", | 35 | "node_modules/jquery/dist/jquery.slim.min.js", |
36 | "node_modules/popper.js/dist/umd/popper.min.js", | 36 | "node_modules/popper.js/dist/umd/popper.min.js", |
37 | "node_modules/bootstrap/dist/js/bootstrap.min.js" | 37 | "node_modules/bootstrap/dist/js/bootstrap.min.js" |
38 | ] | 38 | ] |
39 | }, | 39 | }, |
40 | "configurations": { | 40 | "configurations": { |
41 | "production": { | 41 | "production": { |
42 | "fileReplacements": [ | 42 | "fileReplacements": [ |
43 | { | 43 | { |
44 | "replace": "src/environments/environment.ts", | 44 | "replace": "src/environments/environment.ts", |
45 | "with": "src/environments/environment.prod.ts" | 45 | "with": "src/environments/environment.prod.ts" |
46 | } | 46 | } |
47 | ], | 47 | ], |
48 | "optimization": true, | 48 | "optimization": true, |
49 | "outputHashing": "all", | 49 | "outputHashing": "all", |
50 | "sourceMap": false, | 50 | "sourceMap": false, |
51 | "extractCss": true, | 51 | "extractCss": true, |
52 | "namedChunks": false, | 52 | "namedChunks": false, |
53 | "aot": true, | 53 | "aot": true, |
54 | "extractLicenses": true, | 54 | "extractLicenses": true, |
55 | "vendorChunk": false, | 55 | "vendorChunk": false, |
56 | "buildOptimizer": true, | 56 | "buildOptimizer": true, |
57 | "budgets": [ | 57 | "budgets": [ |
58 | { | 58 | { |
59 | "type": "initial", | 59 | "type": "initial", |
60 | "maximumWarning": "2mb", | 60 | "maximumWarning": "2mb", |
61 | "maximumError": "5mb" | 61 | "maximumError": "5mb" |
62 | }, | 62 | }, |
63 | { | 63 | { |
64 | "type": "anyComponentStyle", | 64 | "type": "anyComponentStyle", |
65 | "maximumWarning": "6kb", | 65 | "maximumWarning": "6kb", |
66 | "maximumError": "10kb" | 66 | "maximumError": "10kb" |
67 | } | 67 | } |
68 | ] | 68 | ] |
69 | } | 69 | } |
70 | } | 70 | } |
71 | }, | 71 | }, |
72 | "serve": { | 72 | "serve": { |
73 | "builder": "@angular-devkit/build-angular:dev-server", | 73 | "builder": "@angular-devkit/build-angular:dev-server", |
74 | "options": { | 74 | "options": { |
75 | "browserTarget": "Frontend-Imagenes:build" | 75 | "browserTarget": "Frontend-Imagenes:build" |
76 | }, | 76 | }, |
77 | "configurations": { | 77 | "configurations": { |
78 | "production": { | 78 | "production": { |
79 | "browserTarget": "Frontend-Imagenes:build:production" | 79 | "browserTarget": "Frontend-Imagenes:build:production" |
80 | } | 80 | } |
81 | } | 81 | } |
82 | }, | 82 | }, |
83 | "extract-i18n": { | 83 | "extract-i18n": { |
84 | "builder": "@angular-devkit/build-angular:extract-i18n", | 84 | "builder": "@angular-devkit/build-angular:extract-i18n", |
85 | "options": { | 85 | "options": { |
86 | "browserTarget": "Frontend-Imagenes:build" | 86 | "browserTarget": "Frontend-Imagenes:build" |
87 | } | 87 | } |
88 | }, | 88 | }, |
89 | "test": { | 89 | "test": { |
90 | "builder": "@angular-devkit/build-angular:karma", | 90 | "builder": "@angular-devkit/build-angular:karma", |
91 | "options": { | 91 | "options": { |
92 | "main": "src/test.ts", | 92 | "main": "src/test.ts", |
93 | "polyfills": "src/polyfills.ts", | 93 | "polyfills": "src/polyfills.ts", |
94 | "tsConfig": "tsconfig.spec.json", | 94 | "tsConfig": "tsconfig.spec.json", |
95 | "karmaConfig": "karma.conf.js", | 95 | "karmaConfig": "karma.conf.js", |
96 | "assets": [ | 96 | "assets": [ |
97 | "src/favicon.ico", | 97 | "src/favicon.ico", |
98 | "src/assets" | 98 | "src/assets" |
99 | ], | 99 | ], |
100 | "styles": [ | 100 | "styles": [ |
101 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", | ||
101 | "src/styles.scss" | 102 | "src/styles.scss" |
102 | ], | 103 | ], |
103 | "scripts": [] | 104 | "scripts": [] |
104 | } | 105 | } |
105 | }, | 106 | }, |
106 | "lint": { | 107 | "lint": { |
107 | "builder": "@angular-devkit/build-angular:tslint", | 108 | "builder": "@angular-devkit/build-angular:tslint", |
108 | "options": { | 109 | "options": { |
109 | "tsConfig": [ | 110 | "tsConfig": [ |
110 | "tsconfig.app.json", | 111 | "tsconfig.app.json", |
111 | "tsconfig.spec.json", | 112 | "tsconfig.spec.json", |
112 | "e2e/tsconfig.json" | 113 | "e2e/tsconfig.json" |
113 | ], | 114 | ], |
114 | "exclude": [ | 115 | "exclude": [ |
115 | "**/node_modules/**" | 116 | "**/node_modules/**" |
116 | ] | 117 | ] |
117 | } | 118 | } |
118 | }, | 119 | }, |
119 | "e2e": { | 120 | "e2e": { |
120 | "builder": "@angular-devkit/build-angular:protractor", | 121 | "builder": "@angular-devkit/build-angular:protractor", |
121 | "options": { | 122 | "options": { |
122 | "protractorConfig": "e2e/protractor.conf.js", | 123 | "protractorConfig": "e2e/protractor.conf.js", |
123 | "devServerTarget": "Frontend-Imagenes:serve" | 124 | "devServerTarget": "Frontend-Imagenes:serve" |
124 | }, | 125 | }, |
125 | "configurations": { | 126 | "configurations": { |
126 | "production": { | 127 | "production": { |
127 | "devServerTarget": "Frontend-Imagenes:serve:production" | 128 | "devServerTarget": "Frontend-Imagenes:serve:production" |
128 | } | 129 | } |
129 | } | 130 | } |
130 | } | 131 | } |
131 | } | 132 | } |
132 | }}, | 133 | } |
134 | }, | ||
133 | "defaultProject": "Frontend-Imagenes" | 135 | "defaultProject": "Frontend-Imagenes" |
134 | } | 136 | } |