react-blob-uploader
Version:
A self-contained, production-ready React component for file uploads (images, documents, videos, etc.) with drag & drop, reordering, and cloud direct upload support. Features framework-agnostic state management, Result-based mutation callbacks, and customi
75 lines (74 loc) • 2.97 kB
JSON
{
"name": "react-blob-uploader",
"version": "2.5.5",
"description": "A self-contained, production-ready React component for file uploads (images, documents, videos, etc.) with drag & drop, reordering, and cloud direct upload support. Features framework-agnostic state management, Result-based mutation callbacks, and customizable styling.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"BLOB_REFACTORING_SUMMARY.md"
],
"scripts": {
"build": "npx rollup -c",
"dev": "npx rollup -c -w",
"test": "jest",
"lint": "eslint src/**/*.{ts,tsx}",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run build",
"release:beta": "git add -A && npm run build && git add -A && (git diff-index --quiet HEAD || git commit -m 'chore: build output before release') && npm version prerelease --preid=beta && git push && git push --tags && npm publish --tag beta --access public",
"release:patch": "git add -A && npm run build && git add -A && (git diff-index --quiet HEAD || git commit -m 'chore: build output before release') && npm version patch && git push && git push --tags && npm publish --access public",
"release:minor": "git add -A && npm run build && git add -A && (git diff-index --quiet HEAD || git commit -m 'chore: build output before release') && npm version minor && git push && git push --tags && npm publish --access public",
"release:major": "git add -A && npm run build && git add -A && (git diff-index --quiet HEAD || git commit -m 'chore: build output before release') && npm version major && git push && git push --tags && npm publish --access public"
},
"keywords": [
"react",
"blob-uploader",
"file-uploader",
"image-uploader",
"document-uploader",
"multi-upload",
"drag-and-drop",
"dnd-kit",
"typescript",
"framework-agnostic",
"state-agnostic",
"cloud-upload",
"s3-upload",
"direct-upload",
"file-management"
],
"author": "Abi",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/abdulmughniHamzah/react-blob-uploader.git"
},
"bugs": {
"url": "https://github.com/abdulmughniHamzah/react-blob-uploader/issues"
},
"homepage": "https://github.com/abdulmughniHamzah/react-blob-uploader#readme",
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@dnd-kit/core": "^6.0.0",
"@dnd-kit/sortable": "^7.0.0",
"lucide-react": "^0.460.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"rollup": "^3.20.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"tslib": "^2.5.0",
"typescript": "^5.0.0"
}
}