|
39 | 39 | "start:storybook": "start-storybook -p 6006 --ci", |
40 | 40 | "build:storybook": "del ./storybook-static; NODE_ENV=production build-storybook", |
41 | 41 | "test:lint": "eslint \"src/**/*.{ts,tsx}\" \"stories/**/*.{ts,tsx}\" \"sandboxes/**/*.{ts,tsx}\" \"test/**/*.{ts,tsx}\"", |
42 | | - "test:unit": "jest -c jest.config.json", |
| 42 | + "test:unit": "vitest run --coverage", |
| 43 | + "test:unit:watch": "vitest watch", |
43 | 44 | "test:size": "size-limit", |
44 | 45 | "test:typings": "tsd", |
45 | 46 | "test": "pnpm test:lint && pnpm test:unit", |
|
68 | 69 | "@storybook/react": "^6.3.12", |
69 | 70 | "@swc/core": "^1.2.95", |
70 | 71 | "@swc/helpers": "^0.4.0", |
71 | | - "@swc/jest": "^0.2.4", |
72 | 72 | "@testing-library/jest-dom": "^5.5.0", |
73 | 73 | "@testing-library/react": "^13.0.0", |
74 | 74 | "@types/faker": "^5.5.8", |
75 | | - "@types/jest": "^27.0.2", |
76 | 75 | "@types/node": "^18.0.0", |
77 | 76 | "@types/react": "^18.0.0", |
78 | 77 | "@types/react-dom": "^18.0.0", |
79 | 78 | "@types/testing-library__jest-dom": "^5.14.5", |
80 | 79 | "@typescript-eslint/eslint-plugin": "^5.0.0", |
81 | 80 | "@typescript-eslint/parser": "^5.0.0", |
| 81 | + "@vitejs/plugin-react": "^2.2.0", |
| 82 | + "@vitest/coverage-c8": "^0.25.2", |
82 | 83 | "browserslist": "^4.17.3", |
83 | 84 | "chart.js": "^3.1.0", |
84 | 85 | "chartjs-adapter-date-fns": "^2.0.0", |
|
98 | 99 | "eslint-plugin-promise": "^5.1.0", |
99 | 100 | "eslint-plugin-react": "^7.17.0", |
100 | 101 | "faker": "^5.5.3", |
101 | | - "inquirer": "^9.0.0", |
102 | | - "jest": "^27.2.5", |
103 | | - "jest-canvas-mock": "^2.2.0", |
| 102 | + "jsdom": "^20.0.2", |
104 | 103 | "nano-staged": "^0.8.0", |
105 | 104 | "prettier": "^2.0.4", |
106 | 105 | "react": "^18.0.0", |
|
114 | 113 | "standard-version": "^9.3.1", |
115 | 114 | "tsd": "^0.24.0", |
116 | 115 | "typescript": "^4.4.3", |
| 116 | + "vite": "^3.2.4", |
| 117 | + "vitest": "^0.25.2", |
| 118 | + "vitest-canvas-mock": "^0.2.1", |
117 | 119 | "webpack": "^5.58.2" |
118 | 120 | }, |
119 | 121 | "tsd": { |
|
125 | 127 | ] |
126 | 128 | } |
127 | 129 | } |
128 | | - }, |
129 | | - "readme": "" |
| 130 | + } |
130 | 131 | } |
0 commit comments