Commit 822ecd10a2e479d980e2cc13fc2e5cd7010e3901
1 parent
1525f49f4e
Exists in
20200117-axion-responsive
remover jquery innecesario en angular.json
Showing
1 changed file
with
2 additions
and
3 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 | "autoservicio-axion": { | 6 | "autoservicio-axion": { |
| 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/autoservicio-axion", | 20 | "outputPath": "dist/autoservicio-axion", |
| 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 | "./node_modules/@fortawesome/fontawesome-free/css/all.min.css", | 32 | "./node_modules/@fortawesome/fontawesome-free/css/all.min.css", |
| 33 | "src/styles.scss" | 33 | "src/styles.scss" |
| 34 | ], | 34 | ], |
| 35 | "scripts": [ | 35 | "scripts": [ |
| 36 | "./node_modules/jquery/dist/jquery.slim.min.js", | 36 | "./node_modules/jquery/dist/jquery.slim.min.js", |
| 37 | "./node_modules/popper.js/dist/umd/popper.min.js", | 37 | "./node_modules/popper.js/dist/umd/popper.min.js", |
| 38 | "./node_modules/@fortawesome/fontawesome-free/js/all.min.js", | 38 | "./node_modules/@fortawesome/fontawesome-free/js/all.min.js", |
| 39 | "./node_modules/bootstrap/dist/js/bootstrap.min.js", | 39 | "./node_modules/bootstrap/dist/js/bootstrap.min.js" |
| 40 | "./node_modules/jquery/dist/jquery.min.js" | 40 | ] |
| 41 | ] | ||
| 42 | }, | 41 | }, |
| 43 | "configurations": { | 42 | "configurations": { |
| 44 | "production": { | 43 | "production": { |
| 45 | "fileReplacements": [ | 44 | "fileReplacements": [ |
| 46 | { | 45 | { |
| 47 | "replace": "src/environments/environment.ts", | 46 | "replace": "src/environments/environment.ts", |
| 48 | "with": "src/environments/environment.prod.ts" | 47 | "with": "src/environments/environment.prod.ts" |
| 49 | } | 48 | } |
| 50 | ], | 49 | ], |
| 51 | "optimization": true, | 50 | "optimization": true, |
| 52 | "outputHashing": "all", | 51 | "outputHashing": "all", |
| 53 | "sourceMap": false, | 52 | "sourceMap": false, |
| 54 | "extractCss": true, | 53 | "extractCss": true, |
| 55 | "namedChunks": false, | 54 | "namedChunks": false, |
| 56 | "aot": true, | 55 | "aot": true, |
| 57 | "extractLicenses": true, | 56 | "extractLicenses": true, |
| 58 | "vendorChunk": false, | 57 | "vendorChunk": false, |
| 59 | "buildOptimizer": true, | 58 | "buildOptimizer": true, |
| 60 | "budgets": [ | 59 | "budgets": [ |
| 61 | { | 60 | { |
| 62 | "type": "initial", | 61 | "type": "initial", |
| 63 | "maximumWarning": "2mb", | 62 | "maximumWarning": "2mb", |
| 64 | "maximumError": "5mb" | 63 | "maximumError": "5mb" |
| 65 | }, | 64 | }, |
| 66 | { | 65 | { |
| 67 | "type": "anyComponentStyle", | 66 | "type": "anyComponentStyle", |
| 68 | "maximumWarning": "6kb", | 67 | "maximumWarning": "6kb", |
| 69 | "maximumError": "10kb" | 68 | "maximumError": "10kb" |
| 70 | } | 69 | } |
| 71 | ] | 70 | ] |
| 72 | } | 71 | } |
| 73 | } | 72 | } |
| 74 | }, | 73 | }, |
| 75 | "serve": { | 74 | "serve": { |
| 76 | "builder": "@angular-devkit/build-angular:dev-server", | 75 | "builder": "@angular-devkit/build-angular:dev-server", |
| 77 | "options": { | 76 | "options": { |
| 78 | "browserTarget": "autoservicio-axion:build" | 77 | "browserTarget": "autoservicio-axion:build" |
| 79 | }, | 78 | }, |
| 80 | "configurations": { | 79 | "configurations": { |
| 81 | "production": { | 80 | "production": { |
| 82 | "browserTarget": "autoservicio-axion:build:production" | 81 | "browserTarget": "autoservicio-axion:build:production" |
| 83 | } | 82 | } |
| 84 | } | 83 | } |
| 85 | }, | 84 | }, |
| 86 | "extract-i18n": { | 85 | "extract-i18n": { |
| 87 | "builder": "@angular-devkit/build-angular:extract-i18n", | 86 | "builder": "@angular-devkit/build-angular:extract-i18n", |
| 88 | "options": { | 87 | "options": { |
| 89 | "browserTarget": "autoservicio-axion:build" | 88 | "browserTarget": "autoservicio-axion:build" |
| 90 | } | 89 | } |
| 91 | }, | 90 | }, |
| 92 | "test": { | 91 | "test": { |
| 93 | "builder": "@angular-devkit/build-angular:karma", | 92 | "builder": "@angular-devkit/build-angular:karma", |
| 94 | "options": { | 93 | "options": { |
| 95 | "main": "src/test.ts", | 94 | "main": "src/test.ts", |
| 96 | "polyfills": "src/polyfills.ts", | 95 | "polyfills": "src/polyfills.ts", |
| 97 | "tsConfig": "tsconfig.spec.json", | 96 | "tsConfig": "tsconfig.spec.json", |
| 98 | "karmaConfig": "karma.conf.js", | 97 | "karmaConfig": "karma.conf.js", |
| 99 | "assets": [ | 98 | "assets": [ |
| 100 | "src/favicon.ico", | 99 | "src/favicon.ico", |
| 101 | "src/assets" | 100 | "src/assets" |
| 102 | ], | 101 | ], |
| 103 | "styles": [ | 102 | "styles": [ |
| 104 | "src/styles.scss" | 103 | "src/styles.scss" |
| 105 | ], | 104 | ], |
| 106 | "scripts": [] | 105 | "scripts": [] |
| 107 | } | 106 | } |
| 108 | }, | 107 | }, |
| 109 | "lint": { | 108 | "lint": { |
| 110 | "builder": "@angular-devkit/build-angular:tslint", | 109 | "builder": "@angular-devkit/build-angular:tslint", |
| 111 | "options": { | 110 | "options": { |
| 112 | "tsConfig": [ | 111 | "tsConfig": [ |
| 113 | "tsconfig.app.json", | 112 | "tsconfig.app.json", |
| 114 | "tsconfig.spec.json", | 113 | "tsconfig.spec.json", |
| 115 | "e2e/tsconfig.json" | 114 | "e2e/tsconfig.json" |
| 116 | ], | 115 | ], |
| 117 | "exclude": [ | 116 | "exclude": [ |
| 118 | "**/node_modules/**" | 117 | "**/node_modules/**" |
| 119 | ] | 118 | ] |
| 120 | } | 119 | } |
| 121 | }, | 120 | }, |
| 122 | "e2e": { | 121 | "e2e": { |
| 123 | "builder": "@angular-devkit/build-angular:protractor", | 122 | "builder": "@angular-devkit/build-angular:protractor", |
| 124 | "options": { | 123 | "options": { |
| 125 | "protractorConfig": "e2e/protractor.conf.js", | 124 | "protractorConfig": "e2e/protractor.conf.js", |
| 126 | "devServerTarget": "autoservicio-axion:serve" | 125 | "devServerTarget": "autoservicio-axion:serve" |
| 127 | }, | 126 | }, |
| 128 | "configurations": { | 127 | "configurations": { |
| 129 | "production": { | 128 | "production": { |
| 130 | "devServerTarget": "autoservicio-axion:serve:production" | 129 | "devServerTarget": "autoservicio-axion:serve:production" |
| 131 | } | 130 | } |
| 132 | } | 131 | } |
| 133 | } | 132 | } |
| 134 | } | 133 | } |
| 135 | }}, | 134 | }}, |
| 136 | "defaultProject": "autoservicio-axion" | 135 | "defaultProject": "autoservicio-axion" |
| 137 | } | 136 | } |