UNPKG

react-async-saga-reducer

Version:

Use redux saga with useReducer hook to handle side effects without Redux

88 lines (87 loc) 2.01 kB
{ "name": "react-async-saga-reducer", "version": "1.0.2", "description": "Use redux saga with useReducer hook to handle side effects without Redux", "main": "dist/index.js", "scripts": { "test": "jest", "build": "tsc", "prepare": "npm run build", "prepublishOnly": "npm test" }, "repository": { "type": "git", "url": "git+https://github.com/ashishrudra/react-async-saga-reducer.git" }, "files": [ "dist/*" ], "keywords": [ "react", "react-hooks", "custom-hooks", "react-custom-hooks", "react-async-hook", "async-reducer", "react-reducer", "useReducer-hook", "useReducer", "redux-saga", "redux-saga-hook", "redux-saga-reducer", "saga-reducer", "async-reducer", "react-async-saga-reducer", "async-saga-reducer", "use-saga-reducer", "use-async-saga-reducer" ], "author": "Ashish Rudra", "license": "ISC", "bugs": { "url": "https://github.com/ashishrudra/react-async-saga-reducer/issues" }, "homepage": "https://github.com/ashishrudra/react-async-saga-reducer#readme", "dependencies": { "react": "16.13.1", "redux-saga": "1.1.3" }, "devDependencies": { "@types/jest": "25.2.2", "@types/react": "16.9.35", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.2", "jest": "26.0.1", "react-dom": "16.13.1", "ts-jest": "23.10.5", "tslib": "2.0.0", "typescript": "3.9.2" }, "jest": { "testEnvironment": "jsdom", "setupFiles": [ "./jest-setup.ts" ], "transform": { "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "testRegex": "(\\.|/)(spec)\\.(tsx?)$", "moduleFileExtensions": [ "js", "json", "jsx", "ts", "tsx" ], "globals": { "__DEV__": true, "ts-jest": { "tsConfig": "./tsconfig-jest.json", "diagnostics": false, "isolatedModules": true } }, "preset": "ts-jest/presets/js-with-ts", "testMatch": null } }