UNPKG

file-fragment-upload

Version:

文件分片上传 获取文件hash值 文件分片

69 lines (68 loc) 1.56 kB
{ "version": "3.0.0", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why" }, "peerDependencies": { "react": ">=16" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "name": "file-fragment-upload", "description": "文件分片上传 获取文件hash值 文件分片", "keywords": ["file-slice-upload", "react-fragment-upload", "fileSlice", "getFileHash"], "author": "zhengyang", "module": "dist/file-fragment-upload.esm.js", "size-limit": [ { "path": "dist/file-fragment-upload.cjs.production.min.js", "limit": "15 KB" }, { "path": "dist/file-fragment-upload.esm.js", "limit": "15 KB" } ], "devDependencies": { "@size-limit/preset-small-lib": "^7.0.8", "@types/react": "^17.0.39", "@types/react-dom": "^17.0.11", "husky": "^7.0.4", "react": "^17.0.2", "react-dom": "^17.0.2", "size-limit": "^7.0.8", "tsdx": "^0.14.1", "tslib": "^2.3.1", "typescript": "^4.5.5" }, "dependencies": { "@types/spark-md5": "^3.0.2", "react-dropzone": "^12.0.2", "spark-md5": "^3.0.2" } }