use-async
Version:
React hooks to make handling async operations a breeze
58 lines (57 loc) • 1.51 kB
JSON
{
"name": "use-async",
"version": "1.2.0",
"description": "React hooks to make handling async operations a breeze",
"homepage": "https://github.com/franciscop/use-async.git",
"repository": "https://github.com/franciscop/use-async.git",
"bugs": "https://github.com/franciscop/use-async/issues",
"funding": "https://www.paypal.me/franciscopresencia/19",
"author": "Francisco Presencia <public@francisco.io> (https://francisco.io/)",
"license": "MIT",
"scripts": {
"size": "echo $(gzip -c src/index.js | wc -c) bytes",
"start": "jest --watch",
"test": "jest --coverage && check-dts src/index.types.ts"
},
"keywords": [
"use-async",
"react",
"hooks",
"async",
"use-effect"
],
"main": "src/index.js",
"type": "module",
"types": "src/index.d.ts",
"files": [
"src/index.d.ts"
],
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"babel-loader": "^8.2.2",
"babel-polyfill": "^6.26.0",
"check-dts": "^0.7.2",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"react": "^18.2.0",
"react-test": "^0.19.0",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^5.2.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"jest": {
"testEnvironment": "jsdom"
}
}