|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 3 | + "version": 1, |
| 4 | + "newProjectRoot": "projects", |
| 5 | + "projects": { |
| 6 | + "password-strength": { |
| 7 | + "projectType": "application", |
| 8 | + "schematics": { |
| 9 | + "@schematics/angular:component": { |
| 10 | + "style": "scss" |
| 11 | + } |
| 12 | + }, |
| 13 | + "root": "", |
| 14 | + "sourceRoot": "src", |
| 15 | + "prefix": "app", |
| 16 | + "architect": { |
| 17 | + "build": { |
| 18 | + "builder": "@angular-devkit/build-angular:browser", |
| 19 | + "options": { |
| 20 | + "outputPath": "dist/password-strength/browser", |
| 21 | + "index": "src/index.html", |
| 22 | + "main": "src/main.ts", |
| 23 | + "polyfills": "src/polyfills.ts", |
| 24 | + "tsConfig": "tsconfig.app.json", |
| 25 | + "aot": true, |
| 26 | + "assets": [ |
| 27 | + "src/favicon.ico", |
| 28 | + "src/assets" |
| 29 | + ], |
| 30 | + "styles": [ |
| 31 | + "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 32 | + "src/styles.scss", |
| 33 | + "./node_modules/prismjs/themes/prism-okaidia.css" |
| 34 | + ], |
| 35 | + "scripts": [ |
| 36 | + "./node_modules/marked/lib/marked.js", |
| 37 | + "./node_modules/prismjs/prism.js", |
| 38 | + "./node_modules/prismjs/components/prism-typescript.min.js", |
| 39 | + "./node_modules/prismjs/components/prism-css.min.js" |
| 40 | + ] |
| 41 | + }, |
| 42 | + "configurations": { |
| 43 | + "production": { |
| 44 | + "fileReplacements": [ |
| 45 | + { |
| 46 | + "replace": "src/environments/environment.ts", |
| 47 | + "with": "src/environments/environment.prod.ts" |
| 48 | + } |
| 49 | + ], |
| 50 | + "optimization": true, |
| 51 | + "outputHashing": "all", |
| 52 | + "sourceMap": false, |
| 53 | + "extractCss": true, |
| 54 | + "namedChunks": false, |
| 55 | + "extractLicenses": true, |
| 56 | + "vendorChunk": false, |
| 57 | + "buildOptimizer": true, |
| 58 | + "budgets": [ |
| 59 | + { |
| 60 | + "type": "initial", |
| 61 | + "maximumWarning": "2mb", |
| 62 | + "maximumError": "5mb" |
| 63 | + }, |
| 64 | + { |
| 65 | + "type": "anyComponentStyle", |
| 66 | + "maximumWarning": "6kb", |
| 67 | + "maximumError": "10kb" |
| 68 | + } |
| 69 | + ] |
| 70 | + } |
| 71 | + } |
| 72 | + }, |
| 73 | + "serve": { |
| 74 | + "builder": "@angular-devkit/build-angular:dev-server", |
| 75 | + "options": { |
| 76 | + "browserTarget": "password-strength:build" |
| 77 | + }, |
| 78 | + "configurations": { |
| 79 | + "production": { |
| 80 | + "browserTarget": "password-strength:build:production" |
| 81 | + } |
| 82 | + } |
| 83 | + }, |
| 84 | + "extract-i18n": { |
| 85 | + "builder": "@angular-devkit/build-angular:extract-i18n", |
| 86 | + "options": { |
| 87 | + "browserTarget": "password-strength:build" |
| 88 | + } |
| 89 | + }, |
| 90 | + "test": { |
| 91 | + "builder": "@angular-devkit/build-angular:karma", |
| 92 | + "options": { |
| 93 | + "main": "src/test.ts", |
| 94 | + "polyfills": "src/polyfills.ts", |
| 95 | + "tsConfig": "tsconfig.spec.json", |
| 96 | + "karmaConfig": "karma.conf.js", |
| 97 | + "assets": [ |
| 98 | + "src/favicon.ico", |
| 99 | + "src/assets" |
| 100 | + ], |
| 101 | + "styles": [ |
| 102 | + "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", |
| 103 | + "src/styles.scss" |
| 104 | + ], |
| 105 | + "scripts": [] |
| 106 | + } |
| 107 | + }, |
| 108 | + "lint": { |
| 109 | + "builder": "@angular-devkit/build-angular:tslint", |
| 110 | + "options": { |
| 111 | + "tsConfig": [ |
| 112 | + "tsconfig.app.json", |
| 113 | + "tsconfig.spec.json", |
| 114 | + "e2e/tsconfig.json" |
| 115 | + ], |
| 116 | + "exclude": [ |
| 117 | + "**/node_modules/**" |
| 118 | + ] |
| 119 | + } |
| 120 | + }, |
| 121 | + "e2e": { |
| 122 | + "builder": "@angular-devkit/build-angular:protractor", |
| 123 | + "options": { |
| 124 | + "protractorConfig": "e2e/protractor.conf.js", |
| 125 | + "devServerTarget": "password-strength:serve" |
| 126 | + }, |
| 127 | + "configurations": { |
| 128 | + "production": { |
| 129 | + "devServerTarget": "password-strength:serve:production" |
| 130 | + } |
| 131 | + } |
| 132 | + }, |
| 133 | + "server": { |
| 134 | + "builder": "@angular-devkit/build-angular:server", |
| 135 | + "options": { |
| 136 | + "outputPath": "dist/password-strength/server", |
| 137 | + "main": "server.ts", |
| 138 | + "tsConfig": "tsconfig.server.json" |
| 139 | + }, |
| 140 | + "configurations": { |
| 141 | + "production": { |
| 142 | + "outputHashing": "media", |
| 143 | + "fileReplacements": [ |
| 144 | + { |
| 145 | + "replace": "src/environments/environment.ts", |
| 146 | + "with": "src/environments/environment.prod.ts" |
| 147 | + } |
| 148 | + ], |
| 149 | + "sourceMap": false, |
| 150 | + "optimization": true |
| 151 | + } |
| 152 | + } |
| 153 | + }, |
| 154 | + "serve-ssr": { |
| 155 | + "builder": "@nguniversal/builders:ssr-dev-server", |
| 156 | + "options": { |
| 157 | + "browserTarget": "password-strength:build", |
| 158 | + "serverTarget": "password-strength:server" |
| 159 | + }, |
| 160 | + "configurations": { |
| 161 | + "production": { |
| 162 | + "browserTarget": "password-strength:build:production", |
| 163 | + "serverTarget": "password-strength:server:production" |
| 164 | + } |
| 165 | + } |
| 166 | + }, |
| 167 | + "prerender": { |
| 168 | + "builder": "@nguniversal/builders:prerender", |
| 169 | + "options": { |
| 170 | + "browserTarget": "password-strength:build:production", |
| 171 | + "serverTarget": "password-strength:server:production", |
| 172 | + "routes": [ |
| 173 | + "/" |
| 174 | + ] |
| 175 | + }, |
| 176 | + "configurations": { |
| 177 | + "production": {} |
| 178 | + } |
| 179 | + }, |
| 180 | + "deploy": { |
| 181 | + "builder": "angular-cli-ghpages:deploy", |
| 182 | + "options": {} |
| 183 | + } |
| 184 | + } |
| 185 | + }, |
| 186 | + "@angular-material-extensions/password-strength": { |
| 187 | + "projectType": "library", |
| 188 | + "root": "projects/angular-material-extensions/password-strength", |
| 189 | + "sourceRoot": "projects/angular-material-extensions/password-strength/src", |
| 190 | + "prefix": "lib", |
| 191 | + "architect": { |
| 192 | + "build": { |
| 193 | + "builder": "@angular-devkit/build-ng-packagr:build", |
| 194 | + "options": { |
| 195 | + "tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.lib.json", |
| 196 | + "project": "projects/angular-material-extensions/password-strength/ng-package.json" |
| 197 | + }, |
| 198 | + "configurations": { |
| 199 | + "production": { |
| 200 | + "tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json" |
| 201 | + } |
| 202 | + } |
| 203 | + }, |
| 204 | + "test": { |
| 205 | + "builder": "@angular-devkit/build-angular:karma", |
| 206 | + "options": { |
| 207 | + "main": "projects/angular-material-extensions/password-strength/src/test.ts", |
| 208 | + "tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.spec.json", |
| 209 | + "karmaConfig": "projects/angular-material-extensions/password-strength/karma.conf.js" |
| 210 | + } |
| 211 | + }, |
| 212 | + "lint": { |
| 213 | + "builder": "@angular-devkit/build-angular:tslint", |
| 214 | + "options": { |
| 215 | + "tsConfig": [ |
| 216 | + "projects/angular-material-extensions/password-strength/tsconfig.lib.json", |
| 217 | + "projects/angular-material-extensions/password-strength/tsconfig.spec.json" |
| 218 | + ], |
| 219 | + "exclude": [ |
| 220 | + "**/node_modules/**" |
| 221 | + ] |
| 222 | + } |
| 223 | + } |
| 224 | + } |
| 225 | + } |
| 226 | + }, |
| 227 | + "defaultProject": "password-strength", |
| 228 | + "cli": { |
| 229 | + "analytics": "80a8e7b5-ce29-40b8-a31c-aa518596a68a" |
| 230 | + } |
| 231 | +} |
0 commit comments