-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.51 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
{
"name": "use-cleanup-callback",
"version": "1.3.0",
"description": "React hook that is a hybrid of useCallback and the cleanup from useEffect",
"main": "dist/index.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"build": "rimraf dist/* && microbundle && rimraf dist/*mjs* dist/*umd* dist/*test*",
"dev": "microbundle watch",
"lint": "eslint ./src/**",
"test": "jest",
"test-types": "tsc --noEmit",
"test-watch": "jest --watch",
"checks": "eslint ./src/** && jest && tsc --noEmit"
},
"keywords": [
"react",
"hook",
"useCallback",
"useEffect",
"cleanup"
],
"author": "Joshua Fraser",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Shrugsy/use-cleanup-callback"
},
"peerDependencies": {
"react": ">=16.8.0 || ^17"
},
"devDependencies": {
"@babel/preset-env": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@testing-library/react-hooks": "^3.4.2",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"codecov": "^3.8.1",
"eslint": "^7.14.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"microbundle": "^0.12.4",
"prettier": "^2.2.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"rimraf": "^3.0.2",
"tsd": "^0.14.0",
"typescript": "^4.1.2"
}
}