UNPKG

react-reach

Version:

A small library for react to communicate with GraphQL

57 lines (56 loc) 2.08 kB
{ "name": "react-reach", "version": "0.4.1", "description": "A small library for react to communicate with GraphQL", "main": "dist/react-reach.js", "scripts": { "prebuild": "rm -rf dist && mkdir dist && mkdir dist/utils", "build": "babel src/index.js -o dist/index.js && babel src/reachGraphQL.js -o dist/reachGraphQL.js && babel src/reachWithDispatch.js -o dist/reachWithDispatch.js && babel src/utils/transport.js -o dist/utils/transport.js", "build:develop": "cross-env NODE_ENV=development webpack src/index.js dist/react-reach.js", "build:production": "cross-env NODE_ENV=production webpack src/index.js dist/react-reach.min.js", "test": "babel-istanbul cover -x *.spec.js _mocha -- -R spec test/reachGraphQL.spec.js -w --compilers js:babel-core/register", "test:single": "babel-node ./node_modules/.bin/babel-istanbul cover _mocha test/reachGraphQL.spec.js" }, "repository": { "type": "git", "url": "https://github.com/kennetpostigo/react-reach.git" }, "keywords": [ "reach", "functional", "react" ], "author": "Kennet Postigo <kennetfpostigo@gmail.com> (http://kpostigo.com/)", "license": "MIT", "bugs": { "url": "https://github.com/kennetpostigo/react-reach/issues" }, "homepage": "https://github.com/kennetpostigo/react-reach#readme", "devDependencies": { "babel-cli": "6.4.0", "babel-core": "6.4.0", "babel-eslint": "4.1.6", "babel-istanbul": "0.5.8", "babel-loader": "6.2.1", "babel-plugin-transform-async-to-generator": "6.4.6", "babel-plugin-transform-runtime": "6.4.3", "babel-preset-es2015": "6.3.13", "babel-runtime": "6.3.19", "chai": "3.4.1", "chai-as-promised": "5.1.0", "commitizen": "2.4.4", "cross-env": "1.0.7", "cz-conventional-changelog": "1.1.4", "eslint": "1.10.3", "eslint-plugin-babel": "3.0.0", "fetch-mock": "3.0.3", "isparta": "4.0.0", "istanbul": "0.4.0", "mocha": "2.3.3", "sinon": "1.17.2", "webpack": "1.12.14" }, "dependencies": { "isomorphic-fetch": "2.2.1" } }