Skip to content

Commit

Permalink
Fix angular.json and remove karma testing config (#5428)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhizerRehan authored Dec 15, 2022
1 parent 1b0ae93 commit 18fa01a
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions modules/web/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "km",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
Expand All @@ -20,7 +21,11 @@
"assets": [
"src/assets",
"src/favicon.png",
{ "glob": "**/*", "input": "node_modules/monaco-editor", "output": "assets/monaco-editor" }
{
"glob": "**/*",
"input": "node_modules/monaco-editor",
"output": "assets/monaco-editor"
}
],
"allowedCommonJsDependencies": [
"country-code-lookup",
Expand Down Expand Up @@ -308,37 +313,17 @@
"options": {
"browserTarget": "kubermatic:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"codeCoverage": true,
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/jquery/dist/jquery.js"
],
"styles": [
"src/assets/css/root.scss"
],
"assets": [
"src/assets",
"src/favicon.png"
]
}
}
}
}
},
"defaultProject": "kubermatic",
"schematics": {
"@schematics/angular:component": {
"prefix": "kubermatic"
"prefix": "km"
},
"@schematics/angular:directive": {
"prefix": "kubermatic"
"prefix": "km"
},
"@schematics/angular:guard": {},
"@schematics/angular:interface": {},
Expand Down

0 comments on commit 18fa01a

Please sign in to comment.