mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 10:25:33 +00:00
Had to create a new PR since after the 5.0 merge, #5818 was throwing errors. ## Examples Added - **React Router v7** - Uppy Dashboard with Tus, XHR, and Transloadit , tus server implemented using react-router/express adapter , rest using regular resource routes - This still doesn't have hot reloading in the dev server though , can be added through nodemon - **Next.js** - Uppy Dashboard with Tus, XHR, and Transloadit - **Angular** - Uppy Dashboard and Dashboard Modal with Tus
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "example-reactrouter",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "React Router + Uppy upload example with TUS and XHR support",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx ./server.ts",
|
|
"typecheck": "react-router typegen && tsc"
|
|
},
|
|
"dependencies": {
|
|
"@mjackson/file-storage": "^0.7.0",
|
|
"@mjackson/form-data-parser": "^0.9.1",
|
|
"@react-router/express": "latest",
|
|
"@tus/file-store": "latest",
|
|
"@tus/server": "latest",
|
|
"@uppy/core": "workspace:*",
|
|
"@uppy/dashboard": "workspace:*",
|
|
"@uppy/react": "workspace:*",
|
|
"@uppy/transloadit": "workspace:*",
|
|
"@uppy/tus": "workspace:*",
|
|
"@uppy/xhr-upload": "workspace:*",
|
|
"express": "^4.19.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@react-router/dev": "latest",
|
|
"@types/express": "^4.17.20",
|
|
"@types/react": "^18.2.20",
|
|
"@types/react-dom": "^18.2.7",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.1.6",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|