add test and add test step to pipeline

This commit is contained in:
2023-12-04 22:27:01 +01:00
parent d039b549d1
commit 6793ecf3f6
7 changed files with 4551 additions and 25 deletions

View File

@@ -9,7 +9,9 @@
"type-check": "vue-tsc --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"server": "node --no-warnings --loader ts-node/esm server/index.ts",
"server:dev": "nodemon --watch \"server/**\" --ext \"ts\" --exec \"npm run server\""
"server:dev": "nodemon --watch \"server/**\" --ext \"ts\" --exec \"npm run server\"",
"test": "vitest",
"test:ci": "vitest run"
},
"dependencies": {
"@vueuse/core": "^10.5.0",
@@ -30,15 +32,18 @@
"@vitejs/plugin-vue": "^4.4.1",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.3",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.53.0",
"eslint-plugin-vue": "^9.18.1",
"jsdom": "^23.0.1",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^1.0.1",
"vue-tsc": "^1.8.22"
},
"type": "module"