|
21 | 21 | "deploy": "gh-pages -d docs",
|
22 | 22 | "prepublishOnly": "npm run build",
|
23 | 23 | "lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
|
24 |
| - "prepare": "husky install" |
| 24 | + "prepare": "husky install", |
| 25 | + "test": "vitest", |
| 26 | + "test:build": "vitest --run --bail 1" |
25 | 27 | },
|
26 | 28 | "lint-staged": {
|
27 | 29 | "src/**/*.{js,ts,vue}": [
|
|
94 | 96 | "@vue/cli-service": "^5.0.8",
|
95 | 97 | "@vue/compiler-sfc": "^3.3.9",
|
96 | 98 | "@vue/eslint-config-typescript": "^12.0.0",
|
| 99 | + "@vue/test-utils": "^2.4.3", |
97 | 100 | "autoprefixer": "^10.4.16",
|
98 | 101 | "eslint": "^8.55.0",
|
99 | 102 | "eslint-config-prettier": "^9.1.0",
|
|
102 | 105 | "eslint-plugin-vue": "^9.19.2",
|
103 | 106 | "gh-pages": "^6.1.0",
|
104 | 107 | "husky": "^8.0.3",
|
| 108 | + "jsdom": "^23.0.1", |
105 | 109 | "lint-staged": "^15.0.2",
|
106 | 110 | "pinia": "^2.1.7",
|
107 | 111 | "postcss": "^8.4.32",
|
|
126 | 130 | "vite-plugin-static-copy": "^0.17.0",
|
127 | 131 | "vite-plugin-stylelint": "^5.2.1",
|
128 | 132 | "vite-plugin-vuetify": "^1.0.2",
|
| 133 | + "vitest": "^1.0.4", |
129 | 134 | "vue-tsc": "^1.8.24",
|
130 | 135 | "vuetify": "^3.4.4",
|
131 | 136 | "webfontloader": "^1.6.28"
|
|
0 commit comments