UNPKG

react-simple-file-input

Version:

Simple wrapper for the HTML input tag and HTML5 FileReader API

55 lines (54 loc) 1.49 kB
{ "name": "react-simple-file-input", "version": "2.1.0", "description": "Simple wrapper for the HTML input tag and HTML5 FileReader API", "main": "index.js", "scripts": { "prepublish": "rm -rf cjs && npm run build-development && npm run build-production", "build-development": "BABEL_ENV=development NODE_ENV=development rollup -c", "build-production": "BABEL_ENV=production NODE_ENV=production rollup -c" }, "repository": { "type": "git", "url": "git+https://github.com/greena13/react-simple-file-input.git" }, "keywords": [ "file", "upload", "FileReader", "React" ], "files": [ "cjs", "package.json", "README.md", "LICENSE", "index.d.ts", "index.js" ], "typings": "./index.d.ts", "dependencies": { "prop-types": "^15.5.7" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-remove-comments": "^2.0.0", "babel-preset-es2015": "^6.18.0", "babel-preset-react": "^6.16.0", "rollup": "^0.55.5", "rollup-plugin-babel": "^3.0.3", "rollup-plugin-license": "^0.5.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^3.0.0" }, "peerDependencies": { "react": ">= 0.14.9" }, "author": "Aleck Greenham", "license": "ISC", "bugs": { "url": "https://github.com/greena13/react-simple-file-input/issues" }, "homepage": "https://github.com/greena13/react-simple-file-input#readme" }