UNPKG

react-async-hook

Version:
86 lines (85 loc) 1.76 kB
{ "name": "react-async-hook", "version": "4.0.0", "description": "Async hook", "author": "Sébastien Lorber", "license": "MIT", "repository": "http://github.com/slorber/react-async-hook", "keywords": [ "react-async-hook", "async", "fetch", "axios", "promise", "react", "react-native", "reactjs", "reactnative", "hooks", "hook", "useAsync", "useState", "useFetch", "usePromise", "use-async", "use-state", "use-fetch", "use-promise" ], "engines": { "node": ">=8", "npm": ">=5" }, "main": "dist/index.js", "module": "dist/react-async-hook.esm.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --env=jsdom" }, "peerDependencies": { "react": ">=16.8" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "jest": { "globals": { "ts-jest": { "tsConfig": "tsconfig.test.json" } }, "setupFilesAfterEnv": [ "@testing-library/jest-dom/extend-expect" ] }, "devDependencies": { "@testing-library/jest-dom": "^4.1.2", "@testing-library/react": "^9.3.0", "@testing-library/react-hooks": "^3.1.0", "@types/jest": "^24.0.12", "@types/react": "^16.9.9", "@types/react-dom": "^16.9.2", "husky": "^2.2.0", "prettier": "^1.17.0", "pretty-quick": "^1.10.0", "react": "^16.10.2", "react-dom": "^16.10.2", "react-test-renderer": "^16.10.2", "tsdx": "^0.7.2", "tslib": "^1.9.3", "typescript": "^3.4.5" } }