-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.2 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@coderebus/react-hooks",
"description": "A library that provides a bunch of useful custom react hooks as an installable package or a cli that generates a custom shared package for react hooks in your monorepo",
"version": "2.0.0-beta.1",
"keywords": [
"useDebounce",
"useLocalStorage",
"useSessionStorage",
"useThrottle",
"useIntersection",
"useLocalizedContent",
"useFetch",
"react",
"hooks"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"bin": {
"react-hooks": "dist/index.js"
},
"exports": {
"./debounce": {
"import": "./dist/debounce/index.js",
"types": "./dist/debounce/index.d.ts"
},
"./throtle": {
"import": "./dist/throtle/index.js",
"types": "./dist/throtle/index.d.ts"
},
"./storage": {
"import": "./dist/storage/index.js",
"types": "./dist/storage/index.d.ts"
},
"./intersection": {
"import": "./dist/intersection/index.js",
"types": "./dist/intersection/index.d.ts"
},
"./localization": {
"import": "./dist/localization/index.js",
"types": "./dist/localization/index.d.ts"
},
"./fetch": {
"import": "./dist/fetch/index.js",
"types": "./dist/fetch/index.d.ts"
}
},
"typesVersions": {
"*": {
"debounce": [
"dist/debounce/index.d.ts"
],
"throttle": [
"dist/throttle/index.d.ts"
],
"storage": [
"dist/storage/index.d.ts"
],
"intersection": [
"dist/intersection/index.d.ts"
],
"fetch": [
"dist/fetch/index.d.ts"
],
"localization": [
"dist/localization/index.d.ts"
]
}
},
"type": "module",
"license": "MIT",
"files": [
"dist",
"README.md",
"template"
],
"scripts": {
"build": "tsup",
"prebuild": "node scripts/prebuild",
"postbuild": "node scripts/postbuild",
"clean": "rimraf dist",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"bump": "bump",
"pub": "npm run bump && npm run build && npm publish"
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"@code-shaper/shaper-utils": "^1.0.5",
"@npm-smith/utils": "^1.1.5",
"@npmcli/package-json": "^5.0.0",
"fs-extra": "^11.2.0",
"node-emoji": "^2.1.0",
"picocolors": "^1.0.0",
"shell-artist": "^2.7.2"
},
"devDependencies": {
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.3",
"@types/node": "^20.11.30",
"@types/npmcli__package-json": "^4.0.3",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"eslint": "8.57.0",
"glob": "^10.3.10",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}