UNPKG

parallel-file-uploader

Version:

高性能并行文件上传工具,支持大文件分片上传、断点续传、Web Worker多线程处理

100 lines (99 loc) 3.18 kB
{ "name": "parallel-file-uploader", "version": "2.0.4", "description": "高性能并行文件上传工具,支持大文件分片上传、断点续传、Web Worker多线程处理", "main": "lib/index.js", "module": "lib/esm/index.js", "types": "lib/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/index.js", "types": "./lib/index.d.ts" }, "./worker": { "import": "./lib/esm/worker.js", "require": "./lib/worker.js", "types": "./lib/worker.d.ts" } }, "files": [ "lib", "dist", "README.md", "LICENSE" ], "scripts": { "build": "npm run clean && npm run build:lib", "build:lib": "tsc && tsc -m esnext --outDir lib/esm", "build:dist": "rollup -c", "clean": "rimraf lib dist", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", "lint": "eslint src --ext .ts", "type-check": "tsc --noEmit", "prepublishOnly": "npm run build && npm run test", "version": "npm run build && git add -A", "postversion": "git push && git push --tags", "release": "./scripts/release.sh", "release:win": "./scripts/release.bat", "release:simple": "./scripts/simple-release.bat", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish", "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta", "release:quick": "./scripts/quick-release.sh", "publish:dry": "npm pack --dry-run", "git:init": "git init && git remote add origin git@github.com:yemaoyang/parallel-file-uploader.git", "git:first-push": "git add . && git commit -m 'feat: initial commit with parallel file uploader v2.0.0' && git branch -M main && git push -u origin main" }, "repository": { "type": "git", "url": "git+https://github.com/yemaoyang/parallel-file-uploader.git" }, "keywords": [ "file-upload", "upload", "parallel-upload", "chunk-upload", "resumable-upload", "web-worker", "typescript", "multipart-upload", "large-file-upload" ], "author": "yemaoyang <346751186@qq.com>", "license": "MIT", "bugs": { "url": "https://github.com/yemaoyang/parallel-file-uploader/issues" }, "homepage": "https://github.com/yemaoyang/parallel-file-uploader#readme", "dependencies": { "spark-md5": "^3.0.2", "uuid": "^9.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^11.0.0", "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@types/spark-md5": "^3.0.2", "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.0.0", "jest-environment-jsdom": "^30.0.0-beta.3", "jsdom": "^22.0.0", "rimraf": "^5.0.0", "rollup": "^3.0.0", "ts-jest": "^29.0.0", "typescript": "^5.0.0" }, "engines": { "node": ">=14.0.0" } }