|
18 | 18 | "browser": "src/main.ts", |
19 | 19 | "polyfills": ["zone.js"], |
20 | 20 | "tsConfig": "tsconfig.app.json", |
21 | | - "assets": ["src/favicon.ico", "src/assets"], |
| 21 | + "assets": [ |
| 22 | + { |
| 23 | + "glob": "**/*", |
| 24 | + "input": "public" |
| 25 | + } |
| 26 | + ], |
22 | 27 | "styles": ["src/styles.css"], |
23 | 28 | "scripts": [] |
24 | 29 | }, |
|
27 | 32 | "budgets": [ |
28 | 33 | { |
29 | 34 | "type": "initial", |
30 | | - "maximumWarning": "500kb", |
31 | | - "maximumError": "1mb" |
| 35 | + "maximumWarning": "500kB", |
| 36 | + "maximumError": "1MB" |
32 | 37 | }, |
33 | 38 | { |
34 | 39 | "type": "anyComponentStyle", |
35 | | - "maximumWarning": "2kb", |
36 | | - "maximumError": "4kb" |
| 40 | + "maximumWarning": "2kB", |
| 41 | + "maximumError": "4kB" |
37 | 42 | } |
38 | 43 | ], |
39 | 44 | "outputHashing": "all" |
|
59 | 64 | "defaultConfiguration": "development" |
60 | 65 | }, |
61 | 66 | "extract-i18n": { |
62 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
63 | | - "options": { |
64 | | - "buildTarget": "ngx-annotate-text-workspace:build" |
65 | | - } |
| 67 | + "builder": "@angular-devkit/build-angular:extract-i18n" |
66 | 68 | }, |
67 | 69 | "test": { |
68 | 70 | "builder": "@angular-devkit/build-angular:karma", |
69 | 71 | "options": { |
70 | 72 | "polyfills": ["zone.js", "zone.js/testing"], |
71 | 73 | "tsConfig": "tsconfig.spec.json", |
72 | | - "karmaConfig": "karma.conf.js", |
73 | | - "assets": ["src/favicon.ico", "src/assets"], |
| 74 | + "assets": [ |
| 75 | + { |
| 76 | + "glob": "**/*", |
| 77 | + "input": "public" |
| 78 | + } |
| 79 | + ], |
74 | 80 | "styles": ["src/styles.css"], |
75 | 81 | "scripts": [] |
76 | 82 | } |
|
114 | 120 | "lint": { |
115 | 121 | "builder": "@angular-eslint/builder:lint", |
116 | 122 | "options": { |
117 | | - "lintFilePatterns": ["projects/ngx-annotate-text/**/*.ts", "projects/ngx-annotate-text/**/*.html"] |
| 123 | + "lintFilePatterns": ["projects/ngx-annotate-text/**/*.ts", "projects/ngx-annotate-text/**/*.html"], |
| 124 | + "eslintConfig": "projects/ngx-annotate-text/eslint.config.js" |
118 | 125 | } |
119 | 126 | } |
120 | 127 | } |
121 | 128 | } |
122 | | - }, |
123 | | - "cli": { |
124 | | - "schematicCollections": ["@angular-eslint/schematics"] |
125 | 129 | } |
126 | 130 | } |
0 commit comments