-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 2.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "react-hook-use-async",
"version": "2.0.1",
"description": "Playing with an async task in React",
"main": "lib/index.js",
"types": "index.d.ts",
"scripts": {
"build": "npm run clean && babel src --out-dir lib --ignore \"**/*.spec.js\",\"**/*.test.js\"",
"clean": "rimraf lib coverage",
"cover": "npm run test -- --coverage",
"cover:codacy": "npm run cover && cat ./coverage/lcov.info | codacy-coverage",
"format": "eslint --max-warnings=0 --fix \"src/**/*.js\" && remark *.md --output",
"lint": "eslint --max-warnings=0 \"src/**/*.js\" && remark -f *.md",
"prepublishOnly": "npm run clean && npm run format && npm run lint && npm run test && npm run build",
"test": "jest --bail --verbose",
"test:watch": "npm run test -- --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"!(.eslintrc).js": [
"eslint --max-warnings=0"
],
"*.md": [
"remark -f"
]
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/we-code-now/react-hook-use-async.git"
},
"keywords": [
"react",
"hook",
"hooks",
"async",
"useAsync",
"use-async",
"promise",
"usePromise",
"use-promise",
"promises",
"usePromises",
"use-promises",
"click",
"fetch",
"useFetch",
"use-fetch",
"react-use-fetch",
"react-use-async",
"react-use-async-hook",
"react-async-hook",
"react-use-promise",
"react-use-promises",
"react-use-promise-hook",
"react-use-promises-hook",
"react-promise-hook",
"react-promises-hook",
"react-promise",
"react-promises",
"react-hook-use-async"
],
"author": "Steven <steven@wecodenow.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/we-code-now/react-hook-use-async/issues"
},
"homepage": "https://github.com/we-code-now/react-hook-use-async#readme",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.3",
"babel-jest": "^24.9.0",
"codacy-coverage": "^3.4.0",
"eslint": "^6.1.0",
"eslint-config-airbnb": "^18.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^3.0.3",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"remark-cli": "^7.0.0",
"remark-preset-lint-recommended": "^3.0.3",
"rimraf": "^2.7.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5"
}
}