|
15 | 15 | "prefix": "app", |
16 | 16 | "architect": { |
17 | 17 | "build": { |
18 | | - "builder": "@angular-devkit/build-angular:application", |
| 18 | + "builder": "@angular/build:application", |
19 | 19 | "options": { |
20 | 20 | "outputPath": "dist/ang-jsoneditor-demo", |
21 | 21 | "index": "src/index.html", |
|
59 | 59 | "defaultConfiguration": "production" |
60 | 60 | }, |
61 | 61 | "serve": { |
62 | | - "builder": "@angular-devkit/build-angular:dev-server", |
| 62 | + "builder": "@angular/build:dev-server", |
63 | 63 | "configurations": { |
64 | 64 | "production": { |
65 | 65 | "buildTarget": "ang-jsoneditor-demo:build:production" |
|
71 | 71 | "defaultConfiguration": "development" |
72 | 72 | }, |
73 | 73 | "extract-i18n": { |
74 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
| 74 | + "builder": "@angular/build:extract-i18n", |
75 | 75 | "options": { |
76 | 76 | "buildTarget": "ang-jsoneditor-demo:build" |
77 | 77 | } |
78 | 78 | }, |
| 79 | + "lint": { |
| 80 | + "builder": "@angular-eslint/builder:lint", |
| 81 | + "options": { |
| 82 | + "lintFilePatterns": [ |
| 83 | + "src/**/*.ts", |
| 84 | + "src/**/*.html" |
| 85 | + ] |
| 86 | + } |
| 87 | + }, |
79 | 88 | "test": { |
80 | | - "builder": "@angular-devkit/build-angular:karma", |
| 89 | + "builder": "@angular/build:karma", |
81 | 90 | "options": { |
82 | 91 | "polyfills": [ |
83 | 92 | "zone.js", |
|
104 | 113 | "prefix": "lib", |
105 | 114 | "architect": { |
106 | 115 | "build": { |
107 | | - "builder": "@angular-devkit/build-angular:ng-packagr", |
| 116 | + "builder": "@angular/build:ng-packagr", |
108 | 117 | "options": { |
109 | 118 | "project": "projects/ang-jsoneditor/ng-package.json" |
110 | 119 | }, |
|
118 | 127 | }, |
119 | 128 | "defaultConfiguration": "production" |
120 | 129 | }, |
| 130 | + "lint": { |
| 131 | + "builder": "@angular-eslint/builder:lint", |
| 132 | + "options": { |
| 133 | + "lintFilePatterns": [ |
| 134 | + "projects/ang-jsoneditor/**/*.ts", |
| 135 | + "projects/ang-jsoneditor/**/*.html" |
| 136 | + ] |
| 137 | + } |
| 138 | + }, |
121 | 139 | "test": { |
122 | | - "builder": "@angular-devkit/build-angular:karma", |
| 140 | + "builder": "@angular/build:karma", |
123 | 141 | "options": { |
124 | 142 | "tsConfig": "projects/ang-jsoneditor/tsconfig.spec.json", |
125 | 143 | "polyfills": [ |
|
134 | 152 | "schematics": { |
135 | 153 | "@schematics/angular:component": { |
136 | 154 | "prefix": "app", |
137 | | - "style": "css" |
| 155 | + "style": "css", |
| 156 | + "type": "component" |
138 | 157 | }, |
139 | 158 | "@schematics/angular:directive": { |
140 | | - "prefix": "app" |
| 159 | + "prefix": "app", |
| 160 | + "type": "directive" |
| 161 | + }, |
| 162 | + "@schematics/angular:service": { |
| 163 | + "type": "service" |
| 164 | + }, |
| 165 | + "@schematics/angular:guard": { |
| 166 | + "typeSeparator": "." |
| 167 | + }, |
| 168 | + "@schematics/angular:interceptor": { |
| 169 | + "typeSeparator": "." |
| 170 | + }, |
| 171 | + "@schematics/angular:module": { |
| 172 | + "typeSeparator": "." |
| 173 | + }, |
| 174 | + "@schematics/angular:pipe": { |
| 175 | + "typeSeparator": "." |
| 176 | + }, |
| 177 | + "@schematics/angular:resolver": { |
| 178 | + "typeSeparator": "." |
141 | 179 | } |
142 | 180 | }, |
143 | 181 | "cli": { |
|
0 commit comments