improve test setup

This commit is contained in:
Philipp Kühn
2020-03-03 23:45:20 +01:00
parent ddad1a62e6
commit e1ee3dc0dd
3 changed files with 205 additions and 8 deletions

View File

@@ -10,7 +10,9 @@
"build:docs": "gridsome build",
"build:packages": "yarn clean:packages && lerna exec --parallel -- microbundle --raw --compress",
"clean:packages": "rm -rf ./packages/*/dist",
"test": "cypress open"
"test:debug": "cypress start",
"test": "cypress run",
"startandtest": "start-server-and-test start http://localhost:3000 test"
},
"dependencies": {
"@gridsome/remark-prismjs": "^0.3.0",
@@ -36,6 +38,7 @@
},
"devDependencies": {
"cypress": "^4.1.0",
"start-server-and-test": "^1.10.8",
"ts-loader": "^6.2.1"
}
}