|
28 | 28 | "prebuild": "npm run clean", |
29 | 29 | "clean": "rimraf dist/", |
30 | 30 | "build": "tsc && babel src/index.tsx --out-file dist/index.js", |
31 | | - "test": "jest && npm run test:types", |
32 | | - "test:types": "tsc --project tsconfig.test.json" |
| 31 | + "test": "npm run test:unit && npm run test:types", |
| 32 | + "test:unit": "vitest run", |
| 33 | + "test:watch": "vitest", |
| 34 | + "test:types": "tsc --project tsconfig.test.json", |
| 35 | + "release": "pnpm build && changeset publish" |
33 | 36 | }, |
34 | 37 | "peerDependencies": { |
35 | 38 | "solid-js": ">=1.8.4" |
36 | 39 | }, |
37 | 40 | "devDependencies": { |
38 | | - "@babel/cli": "^7.14.3", |
39 | | - "@babel/core": "7.14.3", |
40 | | - "@babel/preset-env": "7.14.4", |
41 | | - "@babel/preset-typescript": "7.13.0", |
42 | | - "@types/jest": "^26.0.23", |
43 | | - "babel-preset-solid": "^1.8.4", |
44 | | - "jest": "^26.6.3", |
45 | | - "rimraf": "^3.0.2", |
46 | | - "solid-jest": "0.1.1", |
47 | | - "solid-js": "^1.8.4", |
48 | | - "typescript": "4.9.4" |
49 | | - }, |
50 | | - "jest": { |
51 | | - "preset": "solid-jest/preset/browser" |
| 41 | + "@babel/cli": "^7.27.0", |
| 42 | + "@babel/core": "7.26.10", |
| 43 | + "@babel/preset-env": "7.26.9", |
| 44 | + "@babel/preset-typescript": "7.27.0", |
| 45 | + "@rollup/plugin-babel": "^6.0.4", |
| 46 | + "@testing-library/jest-dom": "^6.6.3", |
| 47 | + "@types/jest": "^29.5.14", |
| 48 | + "@vitest/browser": "^3.1.1", |
| 49 | + "babel-preset-solid": "^1.9.5", |
| 50 | + "jsdom": "^26.0.0", |
| 51 | + "rimraf": "^6.0.1", |
| 52 | + "solid-js": "^1.9.5", |
| 53 | + "typescript": "5.8.3", |
| 54 | + "vite-plugin-solid": "^2.11.6", |
| 55 | + "vitest": "^3.1.1" |
52 | 56 | } |
53 | 57 | } |
0 commit comments