UNPKG

react-files-hooks

Version:

React hooks for downloading and uploading files in the browsers

61 lines (60 loc) 1.63 kB
{ "name": "react-files-hooks", "version": "2.0.0", "description": "React hooks for downloading and uploading files in the browsers", "main": "src/index.js", "files": [ "src/" ], "scripts": { "lint": "npx eslint src/", "lint:fix": "npx eslint src/ --fix", "test": "jest", "test:watch": "jest --watch", "doc": "./node_modules/.bin/jsdoc src/**/*.js -c docs.config.js", "prepublish": "npm run lint && npm test && npm run doc" }, "keywords": [ "react-hooks", "react", "hooks", "download", "upload", "file" ], "repository": { "type": "git", "url": "git+https://github.com/coddredd/react-download-hook.git" }, "bugs": { "url": "https://github.com/coddredd/react-download-hook/issues" }, "homepage": "https://github.com/coddredd/react-download-hook#readme", "devDependencies": { "@babel/core": "~7.12.9", "@babel/plugin-proposal-class-properties": "~7.12.1", "@babel/plugin-syntax-dynamic-import": "~7.8.3", "@babel/preset-env": "~7.12.7", "@babel/preset-react": "~7.12.7", "babel-eslint": "~10.0.3", "babel-jest": "~26.6.3", "babel-loader": "~8.2.2", "babel-polyfill": "~6.26.0", "docdash": "~1.2.0", "eslint": "~7.15.0", "eslint-config-alloy": "~3.8.2", "eslint-plugin-react-hooks": "~4.2.0", "jest": "~26.6.3", "jest-html-reporter": "~3.3.0", "jsdoc": "~3.6.6", "minami": "~1.2.3", "react": "~17.0.0", "react-dom": "~17.0.0" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "author": "coddredd", "license": "MIT" }