-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.81 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.81 KB
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
{
"name": "granular-hooks",
"version": "1.1.0",
"description": "The React hooks you know, with added granularity",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"./dist"
],
"repository": "https://github.com/gfox1984/granular-hooks.git",
"author": "Guillaume Renard",
"license": "MIT",
"keywords": [
"react",
"utils",
"hook",
"hooks",
"granular",
"useEffect",
"useMemo",
"useCallback",
"useLayoutEffect",
"useGranularEffect"
],
"homepage": "https://github.com/gfox1984/granular-hooks",
"bugs": {
"url": "https://github.com/gfox1984/granular-hooks/issues"
},
"scripts": {
"build": "tsc",
"test": "jest --passWithNoTests",
"type-check": "tsc --pretty --noEmit",
"lint": "eslint . --ext .ts",
"format": "yarn prettier --write .",
"prepare": "tsc && husky install"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tsc --pretty --noEmit",
"eslint --fix",
"prettier --write --ignore-unknown"
],
"!*.@(ts|tsx)": "prettier --write --ignore-unknown"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"add": "^2.0.6",
"babel-jest": "^27.4.6",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.28.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"lint-staged": "^12.3.2",
"prettier": "2.5.1",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.5"
}
}