UNPKG

react-use-event-reducer

Version:

A React hook for reducing state from strongly typed events.

55 lines (54 loc) 1.26 kB
{ "name": "react-use-event-reducer", "version": "0.0.5", "description": "A React hook for reducing state from strongly typed events.", "main": "dist/index.js", "scripts": { "build": "tsc --sourceMap false", "prepublishOnly": "npm run-script build", "test": "jest" }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ] }, "peerDependencies": { "react": ">= 16.8.0" }, "devDependencies": { "@testing-library/react": "^12.1.4", "@testing-library/react-hooks": "^3.4.1", "@types/jest": "^26.0.7", "@types/react": "^16.3.13", "jest": "^26.1.0", "react": "^16.12.0", "react-test-renderer": "^16.13.1", "ts-jest": "^26.1.3", "typescript": "^3.8.3" }, "keywords": [ "React", "Event", "Reducer", "Hook" ], "files": [ "dist" ], "homepage": "https://github.com/thehenrymcintosh/React-Use-Event-Reducer", "bugs": { "url": "https://github.com/thehenrymcintosh/React-Use-Event-Reducer/issues" }, "author": "Henry McIntosh", "license": "MIT" }