feat(test): Add cypress for testing
This commit is contained in:
+8
-2
@@ -26,7 +26,8 @@
|
||||
"dev": "vite",
|
||||
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc && rm -rf tmp",
|
||||
"prepublishOnly": "yarn build",
|
||||
"test": "exit 0;",
|
||||
"test": "cypress run-ct",
|
||||
"test:open": "cypress open-ct",
|
||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||
"lint": "yarn lint:js"
|
||||
},
|
||||
@@ -42,14 +43,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.9.0",
|
||||
"@cypress/vite-dev-server": "^2.2.1",
|
||||
"@cypress/vue": "^3.0.5",
|
||||
"@rollup/plugin-replace": "^2.4.2",
|
||||
"@types/dagre": "^0.7.46",
|
||||
"@vitejs/plugin-vue": "^1.9.3",
|
||||
"@vue/compiler-sfc": "^3.2.22",
|
||||
"autoprefixer": "^10.3.7",
|
||||
"cypress": "8.5.0",
|
||||
"dagre": "^0.8.5",
|
||||
"esbuild": "0.13.4",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-chai-friendly": "^0.7.2",
|
||||
"eslint-plugin-prettier": "^3.4.1",
|
||||
"np": "^7.5.0",
|
||||
"postcss-nested": "^5.0.6",
|
||||
@@ -59,7 +65,7 @@
|
||||
"typescript": "^4.4.4",
|
||||
"typescript-transform-paths": "^3.3.1",
|
||||
"unplugin-auto-import": "^0.4.12",
|
||||
"vite": "^2.6.14",
|
||||
"vite": "2.5.x",
|
||||
"vite-svg-loader": "^2.2.0",
|
||||
"vue": "^3.2.22",
|
||||
"vue-router": "^4.0.12",
|
||||
|
||||
Reference in New Issue
Block a user