UNPKG

@indot/react-ctx-store

Version:

Custom hook factory for context providers/consumers

54 lines (53 loc) 1.53 kB
{ "name": "@indot/react-ctx-store", "version": "0.0.10", "description": "Custom hook factory for context providers/consumers", "main": "dist/ctx.js", "types": "dist/ctx.d.ts", "scripts": { "test": "jest src", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build": "npm run build:ts && npm run gen-docs", "build:types": "tsc --emitDeclarationOnly", "build:ts": "tsc --outDir ./dist", "gen-docs": "typedoc --readme README.md --excludeNotExported --ignoreCompilerErrors --exclude '{**/*spec*,**/node_modules/**,**/spec/**}' --out docs ./src; touch docs/.nojekyll" }, "keywords": [ "React", "Hooks", "Context", "Reducer" ], "author": "jasmith79", "license": "MIT", "peerDependencies": { "prop-types": "^15.7.2", "react": "^16.13.1", "react-dom": "^16.13.1" }, "devDependencies": { "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^24.0.18", "@types/jsdom": "^12.2.4", "@types/react": "^16.9.34", "@types/react-dom": "^16.9.6", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "jest": "^24.9.0", "jsdom": "^15.1.1", "jsdom-global": "^3.0.2", "prop-types": "^15.7.2", "react": "^16.13.1", "react-dom": "^16.13.1", "source-map-loader": "^0.2.4", "ts-jest": "^24.0.2", "ts-loader": "^6.0.4", "tslint": "^5.18.0", "typedoc": "^0.15.0", "typescript": "^3.5.3" }, "dependencies": { "@jasmith79/ts-utils": "^0.3.1" } }