|
30 | 30 | "release.docs": "sl-scripts release:docs",
|
31 | 31 | "release.dryRun": "sl-scripts release --dry-run --debug",
|
32 | 32 | "storybook": "start-storybook -p 6006",
|
33 |
| - "test": "jest", |
34 |
| - "test.prod": "yarn lint && yarn test --coverage --maxWorkers=2", |
35 |
| - "test.update": "yarn test --updateSnapshot", |
36 |
| - "test.watch": "yarn test --watch", |
| 33 | + "test": "vitest run", |
| 34 | + "test.prod": "yarn lint && vitest run --coverage", |
| 35 | + "test.update": "vitest run --update", |
| 36 | + "test.watch": "vitest", |
37 | 37 | "test.packaging": "node -e \"require('./dist/index.js')\" && node --input-type=module -e \"import './dist/index.mjs'\"",
|
38 | 38 | "size-limit": "size-limit"
|
39 | 39 | },
|
|
61 | 61 | "@stoplight/markdown-viewer": "^5.3.3",
|
62 | 62 | "@stoplight/mosaic": "^1.32.0",
|
63 | 63 | "@stoplight/mosaic-code-viewer": "^1.32.0",
|
64 |
| - "@stoplight/scripts": "9.2.0", |
| 64 | + "@stoplight/scripts": "10.0.0", |
65 | 65 | "@stoplight/types": "^13.7.0",
|
66 |
| - "@storybook/addon-essentials": "^6.4.14", |
67 |
| - "@storybook/builder-webpack5": "^6.4.14", |
68 |
| - "@storybook/core": "6.4.14", |
69 |
| - "@storybook/manager-webpack5": "^6.4.14", |
70 |
| - "@storybook/react": "^6.4.14", |
| 66 | + "@storybook/addon-essentials": "^6.5.0", |
| 67 | + "@storybook/builder-webpack5": "^6.5.0", |
| 68 | + "@storybook/core": "^6.5.0", |
| 69 | + "@storybook/manager-webpack5": "^6.5.0", |
| 70 | + "@storybook/react": "^6.5.0", |
| 71 | + "@testing-library/jest-dom": "^6.4.6", |
| 72 | + "@testing-library/react": "^12.0.0", |
71 | 73 | "@types/classnames": "^2.2.11",
|
72 | 74 | "@types/enzyme": "^3.10.8",
|
73 |
| - "@types/jest": "^26.0.18", |
74 | 75 | "@types/lodash": "^4.14.149",
|
75 | 76 | "@types/node": "^12.7.2",
|
76 |
| - "@types/react": "16.9.56", |
77 |
| - "@types/react-dom": "16.9.13", |
| 77 | + "@types/react": "^16.14.0", |
| 78 | + "@types/react-dom": "^16.9.0", |
78 | 79 | "@types/treeify": "^1.0.0",
|
79 | 80 | "@typescript-eslint/eslint-plugin": "^5.7.0",
|
80 | 81 | "@typescript-eslint/parser": "^5.7.0",
|
81 |
| - "babel-jest": "^26.6.3", |
| 82 | + "@vitejs/plugin-react": "^4.3.1", |
| 83 | + "@vitest/coverage-v8": "^1.6.0", |
| 84 | + "@vitest/ui": "^1.6.0", |
82 | 85 | "babel-loader": "^8.2.2",
|
83 | 86 | "copyfiles": "^2.4.1",
|
84 | 87 | "enzyme": "^3.11.0",
|
85 | 88 | "enzyme-adapter-react-16": "^1.15.5",
|
86 | 89 | "enzyme-to-json": "^3.6.1",
|
87 | 90 | "eslint": "^8.4.1",
|
88 | 91 | "eslint-plugin-import": "^2.25.3",
|
89 |
| - "eslint-plugin-jest": "^25.3.0", |
90 |
| - "eslint-plugin-prettier": "^4.0.0", |
| 92 | + "eslint-plugin-jest": "^28.6.0", |
| 93 | + "eslint-plugin-prettier": "^5.1.3", |
91 | 94 | "eslint-plugin-react": "^7.27.1",
|
92 | 95 | "eslint-plugin-react-hooks": "^4.3.0",
|
93 | 96 | "eslint-plugin-simple-import-sort": "^7.0.0",
|
94 |
| - "jest": "^26.6.2", |
95 |
| - "jest-enzyme": "^7.1.2", |
96 |
| - "prettier": "^2.5.1", |
| 97 | + "jsdom": "^24.1.0", |
| 98 | + "prettier": "^3.2.2", |
97 | 99 | "react": "^16.14.0",
|
| 100 | + "react-docgen-typescript-plugin": "^1.0.6", |
98 | 101 | "react-dom": "^16.14.0",
|
99 |
| - "rollup-plugin-terser": "^5.3.0", |
100 | 102 | "size-limit": "^4.11.0",
|
101 | 103 | "treeify": "^1.1.0",
|
102 |
| - "ts-jest": "^26.4.4", |
103 |
| - "typescript": "4.5.5", |
| 104 | + "typescript": "5.4.5", |
| 105 | + "vite": "^5.3.1", |
| 106 | + "vitest": "^1.6.0", |
104 | 107 | "webpack": "^5.67.0"
|
105 | 108 | },
|
106 | 109 | "lint-staged": {
|
|
0 commit comments