UNPKG

react-with-multiple-contexts

Version:

Use withContextConsumer to easily pass multiple contexts to component's props

61 lines (60 loc) 1.44 kB
{ "name": "react-with-multiple-contexts", "version": "1.0.5", "description": "Use withContextConsumer to easily pass multiple contexts to component's props", "main": "dist/index.js", "scripts": { "build": "mkdir -p dist && ./node_modules/.bin/babel src --out-file dist/index.js", "prepublishOnly": "npm run build" }, "typings": "index.d.ts", "files": [ "dist", "index.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/artanik/react-with-multiple-contexts.git" }, "author": { "name": "Artem Anikeev", "email": "artanik94@gmail.com", "url": "https://artanik.github.io" }, "license": "MIT", "bugs": { "url": "https://github.com/artanik/react-with-multiple-contexts/issues" }, "keywords": [ "react", "context", "contexts", "component", "components", "util", "utils", "utilities", "helper", "helpers" ], "homepage": "https://github.com/artanik/react-with-multiple-contexts#readme", "devDependencies": { "@babel/cli": "^7.27.2", "@babel/core": "^7.27.4", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "react": "^19.0.0", "react-dom": "^19.0.0", "@types/react": "^19.0.0" }, "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0" }, "babel": { "presets": [ "@babel/preset-env", "@babel/preset-react" ] } }