update karma and change the name of the project

This commit is contained in:
Jason Wall 2020-08-18 19:25:11 -04:00
parent a0157258c7
commit 86dc97f139
3 changed files with 16 additions and 10 deletions

View File

@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"db": {
"dynamicbible": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/db",
"outputPath": "dist/dynamicbible",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
@ -69,18 +69,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "db:build"
"browserTarget": "dynamicbible:build"
},
"configurations": {
"production": {
"browserTarget": "db:build:production"
"browserTarget": "dynamicbible:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "db:build"
"browserTarget": "dynamicbible:build"
}
},
"test": {
@ -110,11 +110,11 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "db:serve"
"devServerTarget": "dynamicbible:serve"
},
"configurations": {
"production": {
"devServerTarget": "db:serve:production"
"devServerTarget": "dynamicbible:serve:production"
}
}
},
@ -125,5 +125,5 @@
}
}
},
"defaultProject": "db"
"defaultProject": "dynamicbible"
}

View File

@ -25,7 +25,13 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_WARN,
autoWatch: true,
browsers: ["Chrome"],
browsers: ["Chrome", "ChromeHeadlessNoSandbox"],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
},
singleRun: false,
restartOnFileChange: true,
});

View File

@ -11,7 +11,7 @@
"lint": "ng lint",
"e2e": "ng e2e",
"copy": "npx cap copy",
"all": "ng lint && ng test --watch=false --browsers=ChromeHeadless && ng build --prod && && npx cap copy"
"all": "ng lint & ng test --watch=false --browsers=ChromeHeadless & ng build --prod & npx cap copy"
},
"private": true,
"dependencies": {