|
3 | 3 | "version": "3.2.0", |
4 | 4 | "types": "./types", |
5 | 5 | "description": "A vue tree component using virtual list.", |
6 | | - "main": "./dist/v3/vue-tree.umd.js", |
7 | | - "module": "./dist/v3/vue-tree.mjs", |
| 6 | + "main": "./dist/vue-tree.umd.js", |
| 7 | + "module": "./dist/vue-tree.mjs", |
8 | 8 | "exports": { |
9 | 9 | ".": { |
10 | 10 | "types": "./types/index.d.ts", |
11 | | - "import": "./dist/v3/vue-tree.mjs", |
12 | | - "require": "./dist/v3/vue-tree.umd.js" |
| 11 | + "import": "./dist/vue-tree.mjs", |
| 12 | + "require": "./dist/vue-tree.umd.js" |
13 | 13 | }, |
14 | | - "./style.css": "./dist/v3/style.css", |
| 14 | + "./style.css": "./dist/style.css", |
15 | 15 | "./*": "./*" |
16 | 16 | }, |
17 | 17 | "scripts": { |
|
20 | 20 | "build": "npm run dts && vite build", |
21 | 21 | "docs": "vue-tsc --noEmit && vite build -c examples/vite.config.ts", |
22 | 22 | "preview": "vite preview", |
23 | | - "test": "jest --watch", |
24 | | - "test:ci": "jest", |
| 23 | + "test": "vitest watch", |
| 24 | + "test:ci": "vitest run", |
25 | 25 | "prettier": "prettier --write \"{src,examples,tests}/**/*.{ts,js,json,vue,tsx,less,scss,less,html}\" --fix" |
26 | 26 | }, |
27 | 27 | "publishConfig": { |
|
59 | 59 | "@babel/preset-env": "^7.24.7", |
60 | 60 | "@babel/preset-typescript": "^7.24.7", |
61 | 61 | "@faker-js/faker": "^8.4.1", |
62 | | - "@types/jest": "29.5.12", |
63 | 62 | "@vitejs/plugin-vue": "^5.0.5", |
64 | 63 | "@vue/babel-preset-app": "^5.0.8", |
65 | 64 | "@vue/test-utils": "^2.4.6", |
66 | 65 | "@vue/vue3-jest": "^29.2.6", |
67 | 66 | "autoprefixer": "^10.4.19", |
68 | | - "babel-jest": "^29.7.0", |
69 | | - "jest": "29.7.0", |
70 | | - "jest-serializer-vue": "^3.1.0", |
71 | | - "jest-transform-stub": "^2.0.0", |
| 67 | + "happy-dom": "^14.12.0", |
72 | 68 | "less": "^4.2.0", |
73 | 69 | "postcss": "^8.4.38", |
74 | 70 | "prettier": "^3.3.1", |
75 | | - "ts-jest": "29.1.4", |
76 | 71 | "typescript": "^5.4.5", |
77 | 72 | "vite": "^5.2.13", |
| 73 | + "vitest": "^1.6.0", |
78 | 74 | "vue": "^3.4.27", |
79 | 75 | "vue-tsc": "^2.0.21" |
80 | 76 | } |
|
0 commit comments