-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8152671
commit ccf27ce
Showing
5 changed files
with
1,611 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Eduzz Hooks: Promises | ||
|
||
[![version](https://img.shields.io/npm/v/@eduzz/ui-hooks-promises)](https://www.npmjs.com/package/@eduzz/ui-hooks-promises) | ||
[![size](https://img.shields.io/bundlephobia/min/@eduzz/ui-hooks-promises)](https://www.npmjs.com/package/@eduzz/ui-hooks-promises) | ||
[![version](https://img.shields.io/npm/v/@eduzz/ui-antd-hooks)](https://www.npmjs.com/package/@eduzz/ui-antd-hooks) | ||
[![size](https://img.shields.io/bundlephobia/min/@eduzz/ui-antd-hooks)](https://www.npmjs.com/package/@eduzz/ui-antd-hooks) | ||
|
||
Hooks diversos para auxiliar no desenvolvimento. | ||
|
||
## Instalação | ||
|
||
```bash | ||
yarn add @eduzz/ui-hooks-promises | ||
yarn add @eduzz/ui-antd-hooks | ||
``` | ||
|
||
## Hooks | ||
|
||
- [usePromise](https://github.com/eduzz/ui-hooks-promises/blob/master/usePromise/index.md). | ||
- [usePromiseCallback](https://github.com/eduzz/ui-hooks-promises/blob/master/usePromiseCallback/index.md). | ||
- [usePromiseEffect](https://github.com/eduzz/ui-hooks-promises/blob/master/usePromiseEffect/index.md). | ||
- [usePromisePaginated](https://github.com/eduzz/ui-hooks-promises/blob/master/usePromisePaginated/index.md). | ||
- [usePromiseRefresh](https://github.com/eduzz/ui-hooks-promises/blob/master/usePromiseRefresh/index.md). | ||
- [usePromise](https://github.com/eduzz/ui-antd-hooks/blob/master/usePromise/index.md). | ||
- [usePromiseCallback](https://github.com/eduzz/ui-antd-hooks/blob/master/usePromiseCallback/index.md). | ||
- [usePromiseEffect](https://github.com/eduzz/ui-antd-hooks/blob/master/usePromiseEffect/index.md). | ||
- [usePromisePaginated](https://github.com/eduzz/ui-antd-hooks/blob/master/usePromisePaginated/index.md). | ||
- [usePromiseRefresh](https://github.com/eduzz/ui-antd-hooks/blob/master/usePromiseRefresh/index.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,56 @@ | ||
{ | ||
"name": "@eduzz/ui-hooks-promises", | ||
"name": "@eduzz/ui-antd-hooks", | ||
"description": "Eduzz Hooks: Promises", | ||
"version": "0.0.4", | ||
"keywords": ["promise", "react-hooks", "hooks", "react", "eduzz"], | ||
"keywords": [ | ||
"antd", | ||
"react-hooks", | ||
"hooks", | ||
"react", | ||
"eduzz" | ||
], | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"author": "Eduzz Team", | ||
"license": "MIT", | ||
"private": false, | ||
"homepage": "https://github.com/eduzz/ui-hooks-promises", | ||
"homepage": "https://github.com/eduzz/ui-antd-hooks", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/eduzz/ui-hooks-promises" | ||
"url": "https://github.com/eduzz/ui-antd-hooks" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/eduzz/ui-hooks-promises/issues" | ||
"url": "https://github.com/eduzz/ui-antd-hooks/issues" | ||
}, | ||
"scripts": { | ||
"clean": "git add . && git clean -fdx . -e node_modules", | ||
"prebuild": "yarn clean && yarn lint", | ||
"build": "yarn tsc -p tsconfig.json", | ||
"lint": "eslint . --ext js,ts,tsx" | ||
"lint": "eslint . --ext ts,tsx", | ||
"update-deps": "yarn ncu -u" | ||
}, | ||
"dependencies": { | ||
"lodash-es": "^4" | ||
}, | ||
"devDependencies": { | ||
"@eduzz/eslint-config": "^0.0.3", | ||
"@eduzz/eslint-config": "^1.0.0", | ||
"@types/lodash-es": "^4", | ||
"@types/react-dom": "^18.2.6", | ||
"@types/react": "^18.2.14", | ||
"@typescript-eslint/eslint-plugin": "^5.61.0", | ||
"@typescript-eslint/parser": "^5.61.0", | ||
"@types/react-dom": "^18.2.6", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"eslint": "^8.44.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-eslint-plugin": "^5.1.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-prettier": "^4", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"eslint": "^8.44.0", | ||
"npm-check-updates": "^16.10.15", | ||
"prettier": "^2", | ||
"react-dom": "^18.2.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"typescript": "^5.1.6" | ||
} | ||
} |
Oops, something went wrong.