mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 10:25:33 +00:00
- added export maps to all the @uppy packages . - imports remain unaffected except for peerDep packages in `@uppy/react` `@uppy/svelte` and `@uppy/vue3`. - export maps added for index files , css , and package.json. - Added side effects for all the packages. --------- Co-authored-by: Mikael Finstad <finstaden@gmail.com> Co-authored-by: Merlijn Vos <merlijn@soverin.net>
77 lines
2 KiB
JSON
77 lines
2 KiB
JSON
{
|
|
"name": "@uppy/react",
|
|
"description": "React component wrappers around Uppy's official UI plugins.",
|
|
"version": "4.4.0",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --build tsconfig.build.json",
|
|
"build:css": "mkdir -p dist && cp ../components/dist/styles.css dist/styles.css",
|
|
"typecheck": "tsc --build",
|
|
"test": "vitest run --environment=jsdom --silent='passed-only'"
|
|
},
|
|
"keywords": [
|
|
"file uploader",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"react",
|
|
"react-components"
|
|
],
|
|
"homepage": "https://uppy.io",
|
|
"bugs": {
|
|
"url": "https://github.com/transloadit/uppy/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/transloadit/uppy.git"
|
|
},
|
|
"dependencies": {
|
|
"@uppy/components": "workspace:^",
|
|
"@uppy/utils": "workspace:^",
|
|
"preact": "^10.5.13",
|
|
"use-sync-external-store": "^1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^14.2.2",
|
|
"@types/react": "^18.0.8",
|
|
"@types/use-sync-external-store": "^0.0.6",
|
|
"@uppy/core": "workspace:^",
|
|
"jsdom": "^26.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./css/style.css": "./dist/styles.css",
|
|
"./dashboard": "./lib/Dashboard.js",
|
|
"./dashboard-modal": "./lib/DashboardModal.js",
|
|
"./status-bar": "./lib/StatusBar.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "workspace:^",
|
|
"@uppy/dashboard": "workspace:^",
|
|
"@uppy/screen-capture": "workspace:^",
|
|
"@uppy/webcam": "workspace:^",
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@uppy/dashboard": {
|
|
"optional": true
|
|
},
|
|
"@uppy/screen-capture": {
|
|
"optional": true
|
|
},
|
|
"@uppy/webcam": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|