UNPKG

react-refetch

Version:

A simple, declarative, and composable way to fetch data for React components.

65 lines (64 loc) 1.73 kB
{ "name": "react-refetch", "version": "0.5.0", "description": "A simple, declarative, and composable way to fetch data for React components.", "main": "./lib/index.js", "scripts": { "build": "babel src --out-dir lib", "clean": "rimraf lib dist coverage", "lint": "eslint src test", "prepublish": "npm run clean && npm run lint && npm run build", "test": "mocha --compilers js:babel/register --recursive --require ./test/setup.js", "test:watch": "npm test -- --watch", "test:cov": "babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive" }, "repository": { "type": "git", "url": "https://github.com/heroku/react-refetch.git" }, "keywords": [ "react", "reactjs", "fetch", "data", "ajax", "hot", "reload", "hmr", "live", "edit" ], "author": "Heroku", "license": "MIT", "bugs": { "url": "https://github.com/heroku/react-refetch/issues" }, "homepage": "https://github.com/heroku/react-refetch", "devDependencies": { "babel": "^5.8.21", "babel-core": "^5.8.22", "babel-eslint": "^3.1.15", "babel-loader": "^5.3.2", "eslint": "^1.10.0", "eslint-config-rackt": "^1.1.0", "eslint-plugin-react": "^3.9.0", "expect": "^1.8.0", "isparta": "^3.0.3", "istanbul": "^0.3.17", "jsdom": "~5.4.3", "mocha": "^2.2.5", "react": "^0.14.0", "react-addons-test-utils": "^0.14.0", "react-dom": "^0.14.0", "rimraf": "^2.3.4", "webpack": "^1.11.0" }, "dependencies": { "hoist-non-react-statics": "^1.0.3", "invariant": "^2.0.0" }, "peerDependencies": { "whatwg-fetch": "^0.10.1", "react": "^0.14.0" } }