refactor(cypress): update cypress, move testing to root level

This commit is contained in:
Christopher Möller
2022-07-26 18:20:52 +02:00
parent 09abf2823d
commit 141a9763f8
16 changed files with 871 additions and 39 deletions

View File

@@ -12,7 +12,8 @@
"scripts": {
"dev": "preconstruct watch",
"postinstall": "preconstruct dev",
"build": "preconstruct build"
"build": "preconstruct build",
"test": "cypress run --browser chrome"
},
"dependencies": {
"react": "^18.1.0",
@@ -25,6 +26,7 @@
"@babel/preset-typescript": "^7.17.12",
"@preconstruct/cli": "^2.1.8",
"autoprefixer": "^10.4.7",
"cypress": "^10.3.1",
"postcss": "^8.4.14",
"postcss-nested": "^5.0.6",
"typescript": "^4.7.4"