|
15 | 15 | "main": "./build", |
16 | 16 | "license": "MIT", |
17 | 17 | "scripts": { |
18 | | - "start": "cross-env DISABLE_ESLINT_PLUGIN=true GENERATE_SOURCEMAP=false react-app-rewired start", |
| 18 | + "start": "cross-env DISABLE_ESLINT_PLUGIN=true vite", |
19 | 19 | "lint": "eslint --fix --ext .tsx,.ts,.js src", |
20 | | - "test": "react-app-rewired test --env=jsdom --watchAll=false", |
21 | | - "build": "cross-env DISABLE_ESLINT_PLUGIN=true GENERATE_SOURCEMAP=false react-app-rewired build", |
| 20 | + "test": "vitest --environment=jsdom --run --watch=false", |
| 21 | + "build": "cross-env DISABLE_ESLINT_PLUGIN=true vite build", |
22 | 22 | "clean": "npx rimraf build", |
23 | 23 | "precommit": "lint-staged", |
24 | | - "storybook": "storybook dev -p 9009 -s public", |
25 | | - "build-storybook": "storybook build -s public" |
| 24 | + "storybook": "storybook dev -p 9009", |
| 25 | + "build-storybook": "storybook build" |
26 | 26 | }, |
27 | 27 | "publishConfig": { |
28 | 28 | "registry": "https://registry.npmjs.org/" |
|
72 | 72 | }, |
73 | 73 | "devDependencies": { |
74 | 74 | "@babel/plugin-proposal-private-property-in-object": "7.21.11", |
| 75 | + "@babel/preset-env": "7.26.9", |
75 | 76 | "@babel/preset-typescript": "7.23.3", |
76 | | - "@jest/globals": "27.5.1", |
77 | | - "@storybook/addon-actions": "7.6.6", |
78 | | - "@storybook/addon-essentials": "7.6.6", |
79 | | - "@storybook/addon-interactions": "7.6.6", |
80 | | - "@storybook/addon-links": "7.6.6", |
| 77 | + "@storybook/addon-actions": "8.6.4", |
| 78 | + "@storybook/addon-essentials": "8.6.4", |
| 79 | + "@storybook/addon-interactions": "8.6.4", |
| 80 | + "@storybook/addon-links": "8.6.4", |
| 81 | + "@storybook/builder-vite": "8.6.4", |
81 | 82 | "@storybook/node-logger": "7.6.6", |
82 | | - "@storybook/preset-create-react-app": "7.6.6", |
83 | | - "@storybook/react": "7.6.6", |
84 | | - "@storybook/react-webpack5": "7.6.6", |
| 83 | + "@storybook/react": "8.6.4", |
| 84 | + "@storybook/react-vite": "8.6.4", |
85 | 85 | "@storybook/testing-library": "0.2.2", |
| 86 | + "@testing-library/jest-dom": "6.6.3", |
| 87 | + "@testing-library/react": "16.2.0", |
86 | 88 | "@types/enzyme": "3.10.18", |
87 | 89 | "@types/enzyme-adapter-react-16": "1.0.9", |
88 | 90 | "@types/node": "20.10.5", |
89 | 91 | "@types/react": "18.2.45", |
90 | 92 | "@types/react-dom": "18.2.18", |
91 | 93 | "@types/react-router-dom": "5.3.3", |
92 | 94 | "@types/styled-components": "5.1.34", |
| 95 | + "@vitejs/plugin-react": "4.3.4", |
93 | 96 | "@wojtekmaj/enzyme-adapter-react-17": "0.8.0", |
94 | 97 | "babel-jest": "25.5.1", |
95 | 98 | "electron": "30.0.0", |
|
100 | 103 | "eslint-plugin-jsx-a11y": "6.7.1", |
101 | 104 | "eslint-plugin-react": "7.32.2", |
102 | 105 | "jest-styled-components": "7.2.0", |
103 | | - "react-app-rewired": "2.2.1", |
104 | | - "react-scripts": "5.0.1", |
| 106 | + "jsdom": "26.0.0", |
| 107 | + "postcss-preset-env": "10.1.5", |
105 | 108 | "react-test-renderer": "18.2.0", |
106 | | - "storybook": "7.6.6", |
| 109 | + "storybook": "^8.6.4", |
107 | 110 | "storybook-addon-react-router-v6": "2.0.10", |
| 111 | + "vite": "6.2.1", |
| 112 | + "vite-plugin-eslint": "1.8.1", |
| 113 | + "vite-plugin-node-polyfills": "0.23.0", |
| 114 | + "vite-plugin-require-transform": "1.0.21", |
| 115 | + "vite-plugin-svgr": "4.3.0", |
| 116 | + "vitest": "3.0.8", |
108 | 117 | "webpack": "5.94.0" |
109 | 118 | }, |
110 | 119 | "resolutions": { |
|
0 commit comments