context-hook
Version:
Simple util that resolves common cases with react Context API.
62 lines (61 loc) • 1.44 kB
JSON
{
"name": "context-hook",
"version": "1.0.10",
"description": "Simple util that resolves common cases with react Context API.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest --watch",
"test:coverage": "jest --watch --coverage",
"build": "rm -r dist && tsc",
"publish": "npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jefoce/context-hook.git"
},
"keywords": [
"react-context",
"create-context",
"create-context-state",
"create-react-hook",
"create-react-context",
"react-component",
"state management",
"data flow",
"react",
"redux",
"immutable",
"hook",
"state",
"mobx",
"context",
"observable",
"reactjs",
"utils",
"jsx",
"tsx"
],
"author": "Egorov Vlad",
"license": "MIT",
"bugs": {
"url": "https://github.com/jefoce/context-hook/issues"
},
"homepage": "https://github.com/jefoce/context-hook#readme",
"dependencies": {
"lodash": "^4.17.21",
"react": "^17.0.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/lodash": "^4.14.173",
"@types/react": "^17.0.24",
"jest": "^27.2.2",
"jsdom": "^17.0.0",
"ts-jest": "^27.0.5",
"react-dom": "^17.0.2",
"typescript": "^4.4.3"
}
}