Use start-server-and-test in travis CI

This commit is contained in:
Przemek Wiech
2020-04-30 14:56:16 +02:00
parent 0445025c8d
commit a78a8aca66
3 changed files with 241 additions and 5 deletions

View File

@@ -53,6 +53,7 @@
"gh-pages": "^2.0.1",
"prettier": "^1.15.3",
"react-scripts": "^3.0.1",
"start-server-and-test": "^1.11.0",
"tslint-config-prettier": "^1.17.0",
"typescript": "latest"
},
@@ -65,7 +66,8 @@
"deploy": "gh-pages -d build",
"predeploy-wikitree": "npm run build",
"deploy-wikitree": "./deploy-wikitree.sh",
"cypress:run": "cypress run"
"cy:run": "cypress run",
"cy:start-and-run": "start-server-and-test start http://localhost:3000 cy:run"
},
"homepage": ".",
"browserslist": [