UNPKG

react-micro-reducer

Version:

A React reducer hook, with a "micro"-reducer style, made for a Typescript world 💙

47 lines (46 loc) • 1.14 kB
{ "name": "react-micro-reducer", "version": "2.0.1", "description": "A React reducer hook, with a \"micro\"-reducer style, made for a Typescript world 💙", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "prepack": "npm run build", "build": "rimraf dist && tsc", "test": "jest" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/kasperpihl/react-micro-reducer.git" }, "keywords": [ "Reducer", "hooks", "state", "management" ], "author": "Kasper Pihl Tornoe", "license": "MIT", "bugs": { "url": "https://github.com/kasperpihl/react-micro-reducer/issues" }, "homepage": "https://github.com/kasperpihl/react-micro-reducer#readme", "devDependencies": { "@testing-library/react-hooks": "^3.2.1", "@types/jest": "^24.0.23", "@types/react": "^16.9.12", "immer": "^5.0.0", "jest": "^24.9.0", "react": "^16.12.0", "react-test-renderer": "^16.12.0", "rimraf": "^3.0.0", "ts-jest": "^24.2.0", "typescript": "^3.7.2" }, "peerDependencies": { "react": ">=16.8" } }