UNPKG

light-upload

Version:

The most powerful lightweight file upload component. Based on JS worker thread technology, it supports multi-threaded file uploads, uploads of files of any size, resumable uploads, and concurrent uploads. File uploads do not block the UI main thread. Note

88 lines (87 loc) 2.77 kB
{ "name": "light-upload", "version": "0.9.54", "description": "The most powerful lightweight file upload component. Based on JS worker thread technology, it supports multi-threaded file uploads, uploads of files of any size, resumable uploads, and concurrent uploads. File uploads do not block the UI main thread. Note: This is a React frontend component. You need to implement the backend interface yourself, or you can contact the author to provide a mature backend component (node/bun, java, or go version) at:max_wang7788@163.com.", "main": "dist/index.umd.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.umd.js" } }, "files": [ "dist/**/*", "README.md" ], "type": "module", "keywords": [ "light upload", "react upload", "react-upload", "upload", "dropzone", "uploader", "file upload", "chunk upload", "lightwight upload", "react", "文件上传", "react component" ], "scripts": { "dev": "vite", "build": " vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "dependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@radix-ui/react-dropdown-menu": "^2.1.12", "@radix-ui/react-popover": "^1.1.11", "@radix-ui/react-progress": "^1.1.4", "@radix-ui/react-separator": "^1.1.2", "@radix-ui/react-slot": "^1.1.2", "@radix-ui/react-tooltip": "^1.2.4", "axios": "^1.9.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "i18next": "^25.0.2", "jszip": "^3.10.1", "lucide-react": "^0.477.0", "nanoid": "^5.0.9", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "react-dropzone": "^14.3.5", "react-i18next": "^15.4.1", "spark-md5": "^3.0.2", "tailwind-merge": "^3.2.0" }, "devDependencies": { "@types/node": "^20.11.5", "@types/react": "^18.2.43", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.17", "eslint": "^8.55.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", "postcss": "^8.4.35", "tailwindcss": "^3.4.1", "typescript": "^5.2.2", "vite": "5.4.19", "vite-plugin-dts": "^4.5.3", "vite-plugin-static-copy": "^2.3.1" }, "author": "Wang Bo", "license": "MIT", "peerDependencies": { "@types/react": "^18.0.0 || ^19.0.0", "@types/react-dom": "^18.0.0 || ^19.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" } }