mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
AI disclaimer: AI used ## Changes - **vite 7 → 8** - **@vitejs/plugin-react 4 → 6** (peer-requires vite ^8; drops Babel for oxc) - **@tailwindcss/vite 4.1 → 4.3** (first 4.x with a vite ^8 peer range) - `examples/react/vitest.config.ts`: add `resolve.dedupe: ['react', 'react-dom']` : reason explained in comments
36 lines
928 B
JSON
36 lines
928 B
JSON
{
|
|
"name": "example-react",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc && vite build",
|
|
"test": "vitest run",
|
|
"dev": "vite",
|
|
"serve": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"@uppy/core": "workspace:*",
|
|
"@uppy/react": "workspace:*",
|
|
"@uppy/remote-sources": "workspace:*",
|
|
"@uppy/screen-capture": "workspace:*",
|
|
"@uppy/tus": "workspace:*",
|
|
"@uppy/webcam": "workspace:*",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tailwindcss": "^4.0.9"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.10",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"@vitest/browser": "^4.1.6",
|
|
"@vitest/browser-playwright": "^4.1.6",
|
|
"msw": "^2.10.4",
|
|
"playwright": "1.60.0",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^8.0.14",
|
|
"vitest": "^4.1.6",
|
|
"vitest-browser-react": "^2.2.0"
|
|
}
|
|
}
|