-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 2.58 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
{
"name": "react-use-handler",
"version": "1.2.0",
"description": "turn recreatable function to a persistent one",
"license": "MIT",
"repository": "vadzim/react-use-handler",
"main": "dist/index.js",
"types": "src/index.d.ts",
"author": {
"name": "Vadzim Zieńka",
"email": "v@vadzim.info",
"url": "https://github.com/vadzim"
},
"files": [
"dist",
"types",
"src"
],
"scripts": {
"test": "jest",
"coverage": "npm test -- --coverage --collectCoverageFrom=src/**/*.js",
"lint": "eslint . --ext .js,.ts",
"types": "tsc --noEmit",
"flow": "flow check",
"flowinstall": "flow-typed install --ignoreDeps=dev; flow-typed install jest",
"docs": "documentation readme src --section=API",
"postdocs": "git add README.md",
"clean": "rimraf dist",
"flowbuild": "flow-copy-source src dist",
"prebuild": "npm run docs && npm run clean && npm run flowbuild",
"build": "babel src -d dist",
"preversion": "npm run flowinstall && npm run lint && npm run types && npm test && npm run build",
"postpublish": "git push origin master --follow-tags",
"codecov": "codecov --token=$CODECOV_TOKEN"
},
"lint-changed": {
"*.js": [
"eslint --fix"
]
},
"keywords": [
"react",
"hooks",
"useHandler",
"useCallback"
],
"dependencies": {},
"peerDependencies": {
"react": "^16.12.0"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-flow": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.9.0",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"codecov": "^3.6.1",
"documentation": "^12.1.4",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-flowtype-errors": "^4.1.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"flow-bin": "^0.116.1",
"flow-copy-source": "^2.0.9",
"flow-typed": "^2.6.2",
"jest": "^24.9.0",
"lint-changed": "0.0.0-development",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.0",
"typescript": "^3.7.5"
}
}