{"_id":"react-file-uploader","_rev":"26-1abbce79e5a231c9c23c61ed6f757025","name":"react-file-uploader","description":"A set of file-upload-components with React.js.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"react-file-uploader","version":"0.1.0","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"echo \"Error: no test specified\" && exit 1","build:lib":"babel src --out-dir lib","build":"npm run clean && npm run build:lib"},"repository":{"type":"git","url":"https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"peerDependencies":{"classnames":"^2.2.0","invariant":"^2.2.0","lodash":"^3.10.1","rand-token":"^0.2.1","react":"^0.14.3","superagent":"^1.4.0"},"gitHead":"28404127d39eb4d8902d5ee39c470a027081d865","_id":"react-file-uploader@0.1.0","_shasum":"7113f470c01dc681d0b4c71179015163c25a7167","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"7113f470c01dc681d0b4c71179015163c25a7167","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.1.0.tgz","integrity":"sha512-Dzt1LS1OGMRUHBX9XQQFAyE9RfnTMRQgxzPcjpJh22x/xV8ImghimPqwM0GOjzq8SWD/IsdeXgftQ3Iv6GEVFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6S2hny6NtvkZW7XCmpnf0zoGSht1SScIm8cjaGIuY7AiBayiknBYAyFEI0Ih6ouh3868raSQr8jsAZ/igR9XWYyg=="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{}},"0.2.0":{"name":"react-file-uploader","version":"0.2.0","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"echo \"Error: no test specified\" && exit 1","build:lib":"babel src --out-dir lib","build":"npm run clean && npm run build:lib"},"repository":{"type":"git","url":"https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"peerDependencies":{"classnames":"^2.2.0","invariant":"^2.2.0","lodash":"^3.10.1","rand-token":"^0.2.1","react":"^0.14.3","superagent":"^1.4.0"},"gitHead":"91fa4ad0e152f2f7fe42aec67e8c84c9e8047cfb","_id":"react-file-uploader@0.2.0","_shasum":"15fe1acf312dd8e7fd08640d2e74d54866054b29","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"15fe1acf312dd8e7fd08640d2e74d54866054b29","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.2.0.tgz","integrity":"sha512-GgSZDHl5mjsh/q7eeZ56T5WMQmo6j6715xRfCbdZMiWfjdK8IDNK7w/dzVtPAfPQxdjsDRhpjiR5adB72JdCwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICK2eHC0ZOW7012AlKIqE09LwMXBDT+kHI0aJeKPw5h8AiEAhrFGThTuFyaYjzznQAh5P1G4DGnaJR3FSzR8iARPXCI="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{}},"0.2.1":{"name":"react-file-uploader","version":"0.2.1","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"echo \"Error: no test specified\" && exit 1","build:lib":"babel src --out-dir lib","build":"npm run clean && npm run build:lib"},"repository":{"type":"git","url":"https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"peerDependencies":{"classnames":"^2.2.0","invariant":"^2.2.0","lodash":"^3.10.1","rand-token":"^0.2.1","react":"^0.14.3","superagent":"^1.4.0"},"gitHead":"b077c97bc182e3693fd733d6ce3b114549dca65e","_id":"react-file-uploader@0.2.1","_shasum":"f1768a50d4eab75359af3d28ad0148df53860b3a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"f1768a50d4eab75359af3d28ad0148df53860b3a","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.2.1.tgz","integrity":"sha512-6+hqr2TWjKfZ4dZFnUDzCAEwTifqv62y7g45uDUsHRrIbv3GQs7WzPJ/S5NOqm7MqId+WbUc5ODxZhHIJGIynQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFekr5okooG5sILmQn1lAk5934GkqRWwH3ypVQ+u+oZAiAbshKh9DguQlNmZJtvQB7f4s1EOPeWReDEXf/3orFsUg=="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{}},"0.2.2":{"name":"react-file-uploader","version":"0.2.2","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"echo \"Error: no test specified\" && exit 1","build:lib":"babel src --out-dir lib","build":"npm run clean && npm run build:lib"},"repository":{"type":"git","url":"https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"peerDependencies":{"classnames":"^2.2.0","invariant":"^2.2.0","lodash":"^3.10.1","rand-token":"^0.2.1","react":"^0.14.3","superagent":"^1.4.0"},"gitHead":"1b0b17648dd74ed01044a5de7392d421370e2f72","_id":"react-file-uploader@0.2.2","_shasum":"f1ac27ec65564591f8aa7841623824649e3ab57a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"f1ac27ec65564591f8aa7841623824649e3ab57a","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.2.2.tgz","integrity":"sha512-fpoyNH4bPSeYHqfv9j/+J4V7n4kwWPFHC4FnD9OgnnF/St5ulWIpkW0rVyGzOYEYAC5c2VrcKwepWMgA3iS4CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTOnK/Xe4jQTbbM6Yrc7yHkRY+Fd+txF6x2u/mM3xiaAIgaVZMKa9X9LLMDL0WEkF3ajTZhl2GJi7TdRnD/yFuvIg="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{}},"0.3.0":{"name":"react-file-uploader","version":"0.3.0","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"debug":"^2.2.0","classnames":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","rand-token":"^0.2.1","superagent":"^1.4.0"},"gitHead":"8da8046e1024f51dd245e03fdd87f16ffa568efc","_id":"react-file-uploader@0.3.0","_shasum":"5b067064cb6c36e4ea9e0e0c83917d49eb86bc25","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"5b067064cb6c36e4ea9e0e0c83917d49eb86bc25","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.0.tgz","integrity":"sha512-oSy1Utn9Fyd5jIBtld1m2JXBpKAKVOymbuyg09uxtclDTkqtdzq5T0d2q7ra+/oEBcbGcco6txGwslOQkIbHnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3Z4a2kvxL2TeXwGpOQr3BGC8FUKZTooTqdrb6BNh8OAiA4+PlcAxQZfeB6F1BqXWEO2GCxkOdo08XHcLlBleP9Bg=="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-file-uploader-0.3.0.tgz_1465568283180_0.2451562222559005"},"directories":{}},"0.3.1":{"name":"react-file-uploader","version":"0.3.1","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","rand-token":"^0.2.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"f45cfaf1bab76a194ac1763486ec2a4471d37911","_id":"react-file-uploader@0.3.1","_shasum":"dc2532768a3769b1610c040758040e8e237e8ff0","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"dc2532768a3769b1610c040758040e8e237e8ff0","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.1.tgz","integrity":"sha512-PFrISBpGE1QY+bfp8/eg4nfjl0jZqAL2ge7jrxW2IhvDwbcwIwCXeufnPkSQHQEl6V4sZb7nJEEz3WmsEslSNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe/9I17U6uS+2qg9jsFMBLOo2UdxnhUAD7HBUD9qRuTAiBlO1tjnzoaC+DnF8mmO/0twZbe7pzkXzrjvOTnhN/Giw=="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-file-uploader-0.3.1.tgz_1471967855324_0.2720336616039276"},"directories":{}},"0.3.2":{"name":"react-file-uploader","version":"0.3.2","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","rand-token":"^0.2.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"6fdc5eb61f9ea30e0fb2de6ffcee0728132d1c9f","_id":"react-file-uploader@0.3.2","_shasum":"22184958f8d3b588379514792e1227a202915271","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"22184958f8d3b588379514792e1227a202915271","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.2.tgz","integrity":"sha512-0oEvZvjhHeyuVzWVyXShrSOyUkinbr2+3+2Kfa2MBYw8ubHZl4OOJ80/gs/1L2te5EEHvy3fs42txaR0MKpanA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbkodWHw5JLdLdxAi9nY6k92+uWz0n6DVEDmhLady21AiEA2/zVj36ud+Uqi396Jc8pcHGgrM1zkPG3DrfxlCB04ao="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-file-uploader-0.3.2.tgz_1473092340375_0.7454213213641196"},"directories":{}},"0.3.3":{"name":"react-file-uploader","version":"0.3.3","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"7c1089fba4765e1c3c9763fc3edb31fc8cfd4ff2","_id":"react-file-uploader@0.3.3","_shasum":"9040adabc9243fadd7a60cff332d1c1c2149d685","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"9040adabc9243fadd7a60cff332d1c1c2149d685","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.3.tgz","integrity":"sha512-qbdoqXqOkYV8Urh+Bou4ZfXmjI0Ii3uLFwrK5GXBE/gSs1UOafG07N3xu8mQjyKcDzUAWrycrO708Lm/yEvkOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIeU6NBRyrD8e11vigKg0g1/tntFg6HAzNEwoVM097FQIgOcGN6QddLt7agHQOpJsjuJYj+VyRbgsGdViOxTzYMPI="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-file-uploader-0.3.3.tgz_1473583548661_0.34326000162400305"},"directories":{}},"0.3.4":{"name":"react-file-uploader","version":"0.3.4","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","prop-types":"^15.5.10","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"ff23dd06bf5cc8d4a4813ae3c14cb0ca2ef59510","_id":"react-file-uploader@0.3.4","_shasum":"180c9d6e7698b31f2378ba4a6b50f9d328f0a5fe","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"180c9d6e7698b31f2378ba4a6b50f9d328f0a5fe","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.4.tgz","integrity":"sha512-WBRuJ+za0ubL0CseUeWhbp7MkkkUpQGR5Yw8ZQEkb1Jz+iI52D6PsrqzbVgA/mvpyvXBcXJc56Kclvj721KWJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDXdW2jf0RcNTtGnyfAkow85aOi4mI51k3D0MTGcKUxQIgb4U6SBfouwgvyM91yyHXJXSnMYD0JyVrKF3pnNlBNPs="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader-0.3.4.tgz_1513858242898_0.9556393476668745"},"directories":{}},"0.3.5":{"name":"react-file-uploader","version":"0.3.5","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","prop-types":"^15.5.10","react":"^0.14.8 || ^15.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"ddd4fbb1b4d8dbd2556a1fe2e442875031b70dca","_id":"react-file-uploader@0.3.5","_shasum":"564d6a868206c45b3447ceda1c53ec241b8a7453","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"564d6a868206c45b3447ceda1c53ec241b8a7453","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.5.tgz","fileCount":19,"unpackedSize":43875,"integrity":"sha512-Qw+ENkME+9ID3Pg3QP9adQPYdEtwH0O7OUK6ULZlSqqb3G37QLK6n289Y+vTV2eVgwgjTfi1C7CZvW3wLXL2xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSVNpDeCUIDc3pgDkk5NP/76hdNXurnMku1icK+weG0AiEAr95U4UfjFDDK5QI/XTl/MW6qcpLc1++wZIwDYWCbiiU="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_0.3.5_1521617795994_0.15003785463403374"},"_hasShrinkwrap":false},"0.3.6":{"name":"react-file-uploader","version":"0.3.6","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest fake-test.js","test:report":"jest fake-test.js --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","prop-types":"^15.5.10","react":"^0.14.8 || ^15.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"ef75f1104393d79244f67574c05cd588995f40ed","_id":"react-file-uploader@0.3.6","_shasum":"e1531b9016e61906e0e351eaaf9a398e0b4c6159","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"e1531b9016e61906e0e351eaaf9a398e0b4c6159","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.6.tgz","fileCount":20,"unpackedSize":44114,"integrity":"sha512-U+drE5qj9BMr4B7f/17PBTgj8ClYw4Db/gl9ei59HWXc+ZNkVqio8XJ5uot4wdLKEXhair3y/hz7PfHb6844mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2JPeaCGtBJA4JMmBnX50o3xwZs3cO3duamPtH0wVBDgIgHHGr1YSc93jG3R8D8iZh9t3KlPrGs5CmsNOpXuSFEAQ="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_0.3.6_1521619653005_0.833069094991745"},"_hasShrinkwrap":false},"0.3.7":{"name":"react-file-uploader","version":"0.3.7","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest fake-test.js","test:report":"jest fake-test.js --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","eslint":"^2.11.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.3.0","eslint-plugin-react":"^5.1.1","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","prop-types":"^15.5.10","react":"^0.14.8 || ^15.0.0","react-addons-test-utils":"^0.14.8 || ^15.0.0","react-dom":"^0.14.8 || ^15.0.0"},"peerDependencies":{"react":"^0.14.8 || ^15.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"d3ed6d91f8bbc046044d102f73379b5b800b14bb","_id":"react-file-uploader@0.3.7","_shasum":"555ecd54e8b60d4effb5eec3af232b13bba37dde","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"555ecd54e8b60d4effb5eec3af232b13bba37dde","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.3.7.tgz","fileCount":13,"unpackedSize":47815,"integrity":"sha512-tBoXlwLxbkBvJudhrfqTb7RT2daNOhJHl2izc5ir932vNd4LBrL7viUya7nMzAR1mV5sOk2Ob2hvOrvGTjdYNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEnKZ9UpbESyRQ4FcXAG5i4/vTqK4tR1FBpBMpaKxYdwIgOzfAUWpPPIVvKCCHEDDokmGke2bBb73gYx61BVp9ZPA="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_0.3.7_1521620458802_0.7160729882457597"},"_hasShrinkwrap":false},"0.4.0":{"name":"react-file-uploader","version":"0.4.0","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-dom":"^15.0.0 || ^16.0.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","prop-types":"^15.5.10","react":"^15.0.0 || ^16.0.0","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"825e1dc447084e944472e8b4407c5b6ec5816641","_id":"react-file-uploader@0.4.0","_shasum":"1ccb2c72d1064c6264d9d4a844e2a2fdd6ab7bd2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"1ccb2c72d1064c6264d9d4a844e2a2fdd6ab7bd2","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.4.0.tgz","fileCount":12,"unpackedSize":47833,"integrity":"sha512-eyrNfvxqOfx0gXXNUT8H79nU+454tBWF7zeShsk6rCk6H58unMwqK4xfya4QfogZVGItBjIS0lGMiS8O8BojkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtRh7tFxUo6syxV7agEZKHWRf4iS8tjBCX/ub3r6nX3wIhAKLZ98kiYO7+lq8evVP38yUb8tMY615qNl8pHeS0dIdi"}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_0.4.0_1522023659896_0.7145577967011605"},"_hasShrinkwrap":false},"0.4.1":{"name":"react-file-uploader","version":"0.4.1","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-dom":"^15.0.0 || ^16.0.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","prop-types":"^15.5.10","react":"^15.0.0 || ^16.0.0","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"4c7cbf22cf1cb77e92beb578113d09169fc2b548","_id":"react-file-uploader@0.4.1","_shasum":"96f5cd18146448e2257c7dc2ef9cda010b10c768","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"96f5cd18146448e2257c7dc2ef9cda010b10c768","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-0.4.1.tgz","fileCount":12,"unpackedSize":48421,"integrity":"sha512-QmfpOEkKt9iHeSTYl/eIWCMFS+55lFSc/tCo/1cDmqtPO2xohBHu+6xN0J9ynZVXb9S4An/VfF4GvTZPtxCg3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN/7+9svw3zZmDssXSIg348HorIwVcLianZrm17eaSVgIhAJksEgCktdGk0FEldhnQ/Ul+vfwIG8HxcHGNsQd+SrsK"}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_0.4.1_1522157162128_0.9506914121773775"},"_hasShrinkwrap":false},"1.0.0":{"name":"react-file-uploader","version":"1.0.0","description":"A set of file-upload-components with React.js.","main":"lib/index.js","scripts":{"clean":"rm -rf lib","test":"jest","test:report":"jest --coverage","build:lib":"babel src --out-dir lib","build":"npm run eslint && npm run test && npm run clean && npm run build:lib","eslint":"eslint ./src/*.js ./src/**/*.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"keywords":["react","file","upload","uploader","file-upload","file-uploader"],"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"license":"MIT","bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"homepage":"https://github.com/lionng429/react-file-uploader","devDependencies":{"babel":"^6.1.18","babel-cli":"^6.2.0","babel-jest":"*","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","jest-cli":"*","jsdom":"^7.0.2","nock":"^8.0.0","react-dom":"^15.0.0 || ^16.0.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"jest":{"scriptPreprocessor":"<rootDir>/node_modules/babel-jest","testPathDirs":["<rootDir>/src"],"unmockedModulePathPatterns":["<rootDir>/node_modules/react","<rootDir>/node_modules/react-dom","<rootDir>/node_modules/react-addons-test-utils","<rootDir>/node_modules/jsdom","<rootDir>/node_modules/lodash","<rootDir>/node_modules/debug","<rootDir>/node_modules/superagent","<rootDir>/node_modules/nock"]},"dependencies":{"classnames":"^2.2.0","debug":"^2.2.0","invariant":"^2.2.0","lodash":">=3.10.1","prop-types":"^15.5.10","react":"^15.0.0 || ^16.0.0","shortid":"^2.2.6","superagent":"^1.4.0"},"gitHead":"2c78c5a389c905340a0bc7d79cb8ec7051c5279d","_id":"react-file-uploader@1.0.0","_shasum":"d08836a11fe871feb61d73674ef7874af4ab4531","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"marstonng","email":"tcng@rakudesignstudio.com"},"dist":{"shasum":"d08836a11fe871feb61d73674ef7874af4ab4531","tarball":"https://registry.npmjs.org/react-file-uploader/-/react-file-uploader-1.0.0.tgz","fileCount":13,"unpackedSize":62897,"integrity":"sha512-LMzis8gdeJaokunDntNOKtw/J7KD3SscJ985QKLazMLbfYuKe3tQ7EYGNjq6UgoG/US18Y83/LJdlFqKW0JEog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYJlj0yk9IpXrWIfzDGm3FQJa2w22hOK5AdPeIqrjJyAiEAyUhoqJLi88n4pC/fjewfaq0r04c3xrpvSVAfzRRmYTc="}]},"maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-file-uploader_1.0.0_1522285204390_0.24262115757958314"},"_hasShrinkwrap":false}},"readme":"# react-file-uploader\n\nreact-file-uploader is a set of customizable React components that helps you to build a file uploader in your application easily.\n\nIt is expected to be production ready from v1.0.0, although v0.4.1 provides a stable but very simple and limited usage.\n\nThe uploading implementation is coupled with [superagent](https://visionmedia.github.io/superagent/), and the `method`, `header` and `data` are configurable with props.\n\n## Installation\n\nTo install:\n\n```sh\nnpm install --save react-file-uploader\n```\n\n# Documentation\n\nthis module currently contains 4 major entities, which are\n\n1. Receiver\n2. UploadManager\n3. UploadHandler\n4. File Status\n\n# Receiver\n\n`Receiver` helps you to manage the **Drag and Drop** functionality. Once you mounted the `Receiver` component, your application will start listen to `dragenter`, `dragover`, `dragleave` and `drop` events.\n\n```\nimport { Receiver } from 'react-file-uploader';\n\n<Receiver\n  wrapperId={STRING}\n  customClass={STRING_OR_ARRAY}\n  style={OBJECT}\n  isOpen={BOOLEAN}\n  onDragEnter={FUNCTION}\n  onDragOver={FUNCTION}\n  onDragLeave={FUNCTION}\n  onFileDrop={FUNCTION}\n>\n  <div>\n    visual layer of the receiver (drag & drop panel)\n  </div>\n</Receiver>\n```\n\n## Props\n\n* wrapperId - `string`: Optional HTML element id for the DnD area. If not given, `window` will be used instead.\n* customClass - `string | array`: the class name(s) for the `div` wrapper\n* style - `object`: the style for the `div` wrapper \n* isOpen - `boolean` `required`: to control in the parent component whether the Receiver is visble.\n* onDragEnter - `function` `required`: when `isOpen` is `false`, this will be fired with the window event of `dragenter` once .\n\nYou may make use of the drag & drop event callbacks.\n\n```\n// @param e Object DragEvent\nfunction onDragEnter(e) {\n\tthis.setState({ isReceiverOpen: true });\n}\n```\n\n* onDragOver - `function`: this will be fired with the window event of `dragover`.\n\n```\n// @param e Object DragEvent\nfunction onDragOver(e) {\n\t// your codes here\n}\n```\n\n* onDragLeave - `function` `required`: when the drag event entirely left the client (i.e. `dragLevel === 0`), this will be fired with the window event of `dragleave` once.\n\n```\n// @param e Object DragEvent\nfunction onDragLeave(e) {\n\tthis.setState({ isReceiverOpen: false });\n}\n```\n\n* onFileDrop - `function` `required`: this will be fired with the window event of `drop`. You may execute any validation / checking process here i.e. *size*, *file type*, etc.\n\n```\n// @param e Object DragEvent\n// @param files Array the files dropped on the target node\nfunction onFileDrop(e, uploads) {\n\t// check if the files are drop on the targeted DOM\n\tconst node = ReactDOM.findDOMNode(this.refs.uploadPanel);\n\tif (e.target !== node) {\n\t\treturn;\n\t}\n\t\n\tlet newUploads = uploads.map(upload => {\n\t\t// check file size\n\t\tif (upload.data.size > 1000 * 1000) {\n\t\t  return Object.assign({}, upload, { error: 'file size exceeded 1MB' });\n\t\t}\n\t})\n\t\n\t// put files into state/stores by setState/action\n\tthis.setState({\n\t\tuploads: this.state.uploads.concat(newUploads)),\n\t});\n\t\n\t// close the Receiver after file dropped\n\tthis.setState({ isReceiverOpen: false });\n}\n```\n\n# UploadManager\n\nUpload Manager serves as a high order component which helps you to manage the upload related parameters and functions. It prepares the upload function with [`superagent`](https://github.com/visionmedia/superagent) the children elements, and helps you to update the lifecycle status of the uploading files.\n\n```\nimport { UploadManager } from 'react-file-uploader';\n\n<UploadManager\n  component={STRING}\n  customClass={STRING_OR_ARRAY}\n  onUploadAbort={FUNCTION}\n  onUploadStart={FUNCTION}\n  onUploadProgress={FUNCTION}\n  onUploadEnd={FUNCTION}\n  progressDebounce={NUMBER}\n  reqConfigs={OBJECT}\n  style={OBJECT}\n  uploadDataHandler={FUNCTION}\n  uploadErrorHandler={FUNCTION}\n  uploadHeaderHandler={FUNCTION}\n\tuploadUrl={STRING}\n>\n\t// UploadHandler as children\n\t{\n\t\tfiles.map(file => (\n\t\t\t<UploadHandler key={file._id} file={FILE_INSTANCE} autoStart={BOOLEAN} />\n\t\t))\n\t}\n</UploadManager>\n```\n\n## Props\n\n* component - `string`: the DOM tag name of the wrapper. By default it is an unordered list `ul`.\n* customClass - `string | array`: the class name(s) for the wrapper\n* formDataParser - **DEPRECATED** this prop function is renamed as `uploadDataHandler` starting from v1.0.0.\n\n* onUploadAbort - `function`: this will be fired when the upload request is aborted. This function is available from v1.0.0.\n\n```\n/**\n * @param fileId {string} identifier of a file / an upload task\n * @param changes {object} changes object containing the new property of an upload\n * @param changes.status {number} file status ABORTED\n */\nlet onUploadAbort = (fileId, { status }) => { ... }\n```\n\n* onUploadStart - `function`: this will be fired when the upload request is just sent.\n\n```\n/**\n * @param fileId {string} identifier of a file / an upload task\n * @param changes {object} changes object containing the new property of an upload\n * @param changes.status {number} file status UPLOADING\n */\nlet onUploadStart = (fileId, { status }) => { ... }\n```\n\n* onUploadProgress - `function`: this will be fired when the upload request returns progress. From v1.0.0, this callback is debounced for `props.progressDebounce` ms.\n\n```\n/**\n * @param fileId {string} identifier of a file / an upload task\n * @param changes {object} changes object containing the new property of an upload\n * @param changes.progress {number} upload progress in percentage\n * @param changes.status {number} file status UPLOADING\n */\nlet onUploadProgress = (fileId, { progress, status }) { ... }\n```\n\n* onUploadEnd - `function` `required`: this will be fired upon the end of upload request.\n\n```\n/**\n * @param fileId {string} identifier of a file / an upload task\n * @param changes {object} changes object containing the new property of an upload\n * @param changes.error {object} error returned from `props.uploadErrorHandler`\n * @param changes.progress {number} upload progress in percentage, either 0 or 100 with a corresponding FAILED or UPLOADED status\n * @param changes.result {object} upload result / response object returned from `props.uploadErrorHandler`\n * @param changes.status {number} file status, either FAILED or UPLOADED\n */\n// @param file Object the file object returned with either UPLOADED or FAILED status and 100% progress. When it is wilh FAILED status, error property should be also assigned to the file object.\nlet onUploadEnd = (fileId, { error, progress, result, status }) => { ... }\n```\n\n* progressDebounce - `number`: debounce value in ms for the callback on superagent `progress`.\n* reqConfigs - `object`: the exposed superagent configs including `accept`, `method`, `timeout` and `withCredentials`.\n* style - `object`: the style property for the wrapper.\n* uploadUrl - `string` `required`: the url of the upload end point from your server.\n* uploadDataHandler - `function`: this function is to parse the data to be sent as request data. From v1.0.0, the first argument will become a upload task object instead of the File instance.\n\n```\nlet uploadDataHandler = (upload) => {\n\t// for FormData\n\tconst formData = new FormData();\n\tformData.append('file', upload.data);\n\tformData.append('custom-key', 'custom-value');\n\treturn formData;\n\n\t// for AWS S3\n\treturn upload.data;\n}\n```\n\n* uploadErrorHandler - `function`: this function is to process the arguments of `(err, res)` in `superagent.end()`. In this function, you can resolve the error and result according to your upload api response. Default implementation is available as defaultProps.\n\n```\nfunction uploadErrorHandler(err, res) {\n  const body = res.body ? clone(res.body) : {};\n\tlet error = null;\n\n\tif (err) {\n\t\terror = err.message;\n\t} else if (body.errors) {\n\t\terror = body.errors;\n\t}\n\n\tdelete body.errors;\n\n\treturn { error, result: body };\n}\n```\n\n* uploadHeader - **DEPRECATED** this prop is deprecated and replaced by `uploadHeaderHandler`.\n\n* uploadHeaderHandler - `function`: the function is to parse the header object to be sent as request header.\n\n```\nlet uploadHeaderHandler = (upload) => {\n\t// for AWS S3\n\treturn {\n\t\t'Content-Type': upload.data.type,\n\t\t'Content-Disposition': 'inline'\n\t};\n}\n```\n\n# UploadHandler\n\nUpload Handler helps you to execute the upload lifecycle, which is `start`, `progress` and `end`. It also acts as the presentation layer of a file, showing users the info of the **_uploading / uploaded_** file.\n\n```\nimport { UploadHandler } from 'react-file-uploader';\n\n<UploadHandler\n\tcustomClass={CLASS_STRING_OR_ARRAY}\n\tstyle={STYLE_OBJECT}\n\tfile={FILE_OBJECT}\n\tautoStart={BOOLEAN}\n\tupload={UPLOAD_FUNCTION}\n>\n\t{\n\t\t// From v1.0.0, you can pass a render function as children, so to have access to the prepared `upload` and `abort` function.\n\t\t({ upload, abort }) => (\n\t\t\t<dl>\n\t\t\t\t<dt>{file.data.name}</dt>\n\t\t\t\t<dd>\n\t\t\t\t\t<span className=\"file__id\">{file.id} </span>\n\t\t\t\t\t<span className=\"file__type\">{file.data.type} </span>\n\t\t\t\t\t<span className=\"file__size\">{file.data.size / 1000 / 1000} MB</span>\n\t\t\t\t\t<span className=\"file__progress\">{file.progress}%</span>\n\t\t\t\t\t<span className=\"file__status\">\n\t\t\t\t\t\t{this.getStatusString(file.status)}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span className=\"file__error\">{file.error}</span>\n\t\t\t\t\t{\n\t\t\t\t\t\t((index % 2 === 1 && file.status === 0) || file.status === -2) && (\n\t\t\t\t\t\t\t<button onClick={upload}>Upload</button>\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t\t{\n\t\t\t\t\t\tfile.status === 1 && (\n\t\t\t\t\t\t\t<button onClick={abort}>Abort</button>\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t</dd>\n\t\t\t</dl>\n\t\t)\n\t}\n</UploadHandler>\n```\n\n## Props\n\n* `abort` - `function` the function to abort the upload request. It is provided by UploadManager HOC by default.\n* `autoStart` - `boolean`: when `autoStart` is set, upon the UploadHandler `componentDidMount`, it will detect if the file i.e. *as props* is with the `PENDING` status and initialise an upload request which is sent to the `uploadUrl` you passed to the `UploadManager`.\n* `component` - `string`: the DOM tag name of the wrapper.\n* `customClass` - `string | array`: the class name(s) for the wrapper\n* `style` - `object`: the style for the wrapper \n* `file` - `object` `required`: the file object that is **_uploaded / going to be uploaded_**.\n* `upload` - `function`: the function that contains the upload logic, you may pass it directly when you are using `UploadHandler` alone, or it could be prepared by `UploadManager`.\n\n```\n// @param url String API upload end point\n// @param file Object File Object\nlet upload = (url, file) => { ... }\n```\n\n# File Status\n\n`react-file-uploader` defines a set of status constants to represent the file status. The corresponding status will be assign to a file object throughout the uploading life cycle.\n\n```\nABORTED = -2\nFAILED = -1\nPENDING = 0\nUPLOADING = 1\nUPLOADED = 2\n```\n\n# TODOs\n\n* complete test cases\n* add real-world example\n* verify and provide better support to Amazon Simple Storage Service\n\n# License\n\nMIT","maintainers":[{"name":"marstonng","email":"tcng@rakudesignstudio.com"}],"time":{"modified":"2022-06-25T21:33:27.813Z","created":"2015-11-21T14:38:16.781Z","0.1.0":"2015-11-21T14:38:16.781Z","0.2.0":"2015-11-21T14:42:39.509Z","0.2.1":"2015-11-22T09:35:50.734Z","0.2.2":"2015-11-22T14:41:01.557Z","0.3.0":"2016-06-10T14:18:03.738Z","0.3.1":"2016-08-23T15:57:35.569Z","0.3.2":"2016-09-05T16:19:00.632Z","0.3.3":"2016-09-11T08:45:48.899Z","0.3.4":"2017-12-21T12:10:42.992Z","0.3.5":"2018-03-21T07:36:36.131Z","0.3.6":"2018-03-21T08:07:33.215Z","0.3.7":"2018-03-21T08:20:58.859Z","0.4.0":"2018-03-26T00:21:00.014Z","0.4.1":"2018-03-27T13:26:02.210Z","1.0.0":"2018-03-29T01:00:04.510Z"},"homepage":"https://github.com/lionng429/react-file-uploader","keywords":["react","file","upload","uploader","file-upload","file-uploader"],"repository":{"type":"git","url":"git+https://github.com/lionng429/react-file-uploader.git"},"author":{"name":"Marston Ng","email":"tcng@rakudesignstudio.com"},"bugs":{"url":"https://github.com/lionng429/react-file-uploader/issues"},"license":"MIT","readmeFilename":"README.md","users":{"takuya_abe":true,"ohcoder":true,"asaupup":true,"iguchi7":true,"rwizard":true,"fengmiaosen":true,"nuwaio":true}}