UNPKG

react-diode

Version:

Endpoint agnostic, unidirectional data fetching for React applications

100 lines (99 loc) 2.35 kB
{ "name": "react-diode", "version": "0.5.25", "description": "Endpoint agnostic, unidirectional data fetching for React applications", "source": "src/DiodePublic.js", "main": "lib/DiodePublic.js", "files": [ "lib/", "package.json", "README.md", "LICENSE" ], "scripts": { "lint": "marlint --quiet", "test": "jest --coverage", "prepare": "npm run test && npm run build", "build": "rollup -c rollup.config.js", "format": "prettier --write src/**/*.js" }, "repository": { "type": "git", "url": "git+https://github.com/traveloka/react-diode.git" }, "keywords": [ "react", "diode", "unidirectional", "data", "fetch", "endpoint", "agnostic" ], "author": "Traveloka", "license": "MIT", "bugs": { "url": "https://github.com/traveloka/react-diode/issues" }, "homepage": "https://github.com/traveloka/react-diode#readme", "dependencies": { "deep-extend": "^0.6.0", "hoist-non-react-statics": "^2.5.0", "lodash.find": "^4.3.0", "lodash.mergewith": "^4.6.1", "object-assign": "^4.0.1" }, "peerDependencies": { "react": "^16.6.0", "react-is": "^16.8.3" }, "optionalDependencies": { "isomorphic-fetch": "^2.2.1" }, "devDependencies": { "@babel/core": "^7.4.3", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-transform-runtime": "^7.4.3", "@babel/preset-env": "^7.4.3", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "babel-plugin-async-to-promises": "^1.0.5", "husky": "^1.2.0", "jest": "^24.7.1", "jest-dom": "^3.0.0", "lint-staged": "^8.1.0", "marlint": "^6.5.4", "prettier": "^1.15.3", "react": "^16.6.3", "react-dom": "^16.6.3", "react-is": "^16.8.3", "react-testing-library": "^5.3.2", "rollup": "^1.12.0", "rollup-plugin-babel": "^4.3.2" }, "marlint": { "ignores": [ "lib/**" ], "rules": { "no-duplicate-imports": 0, "flowtype/no-types-missing-file-annotation": 0, "no-else-return": 0, "no-param-reassign": 0 } }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "prettier --write", "git add" ] }, "jest": { "testRegex": "__tests__/.*.test\\.js$" } }