-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 4.2 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 4.2 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "@ndriadev/react-tools",
"description": "A React library of hooks, components, utils and types ready to use",
"private": false,
"version": "2.2.0",
"type": "module",
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./hooks": {
"types": "./dist/hooks.d.ts",
"import": "./dist/hooks.mjs",
"require": "./dist/hooks.cjs"
},
"./hooks/state": {
"types": "./dist/hooks/state.d.ts",
"import": "./dist/hooks/state.mjs",
"require": "./dist/hooks/state.cjs"
},
"./hooks/lifecycle": {
"types": "./dist/hooks/lifecycle.d.ts",
"import": "./dist/hooks/lifecycle.mjs",
"require": "./dist/hooks/lifecycle.cjs"
},
"./hooks/performance": {
"types": "./dist/hooks/performance.d.ts",
"import": "./dist/hooks/performance.mjs",
"require": "./dist/hooks/performance.cjs"
},
"./hooks/events": {
"types": "./dist/hooks/events.d.ts",
"import": "./dist/hooks/events.mjs",
"require": "./dist/hooks/events.cjs"
},
"./hooks/api-dom": {
"types": "./dist/hooks/api-dom.d.ts",
"import": "./dist/hooks/api-dom.mjs",
"require": "./dist/hooks/api-dom.cjs"
},
"./components": {
"types": "./dist/components.d.ts",
"import": "./dist/components.mjs",
"require": "./dist/components.cjs"
},
"./utils": {
"types": "./dist/utils.d.ts",
"import": "./dist/utils.mjs",
"require": "./dist/utils.cjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
"test:run": "echo \"Error: no test specified\" && exit 0",
"dev": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"typecheck:demo": "tsc --project tsconfig.demo.json --noEmit",
"docs:generate": "tsx scripts/generate-docs.ts",
"docs:dev": "pnpm docs:generate && vitepress dev docs",
"docs:build": "pnpm docs:generate && vitepress build docs",
"docs:preview": "vitepress preview docs",
"clean": "rimraf dist coverage docs/.vitepress/dist docs/.vitepress/cache",
"prebuild": "pnpm run clean",
"build": "unbuild",
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run build",
"changelog": "node scripts/generate-changelog.js",
"release:patch": "bash scripts/release.sh patch",
"release:minor": "bash scripts/release.sh minor",
"release:major": "bash scripts/release.sh major",
"postversion": "git push && git push --tags",
"version": "pnpm run changelog && git add CHANGELOG.md"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^20.19.39",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^5.2.0",
"eslint": "^10.2.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.1.3",
"ts-morph": "^27.0.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.1",
"unbuild": "^3.6.1",
"vitepress": "^1.6.4"
},
"keywords": [
"react",
"component",
"components",
"hook",
"hooks",
"tools",
"lazy",
"react tools",
"react-tools",
"react component",
"react components",
"react-component",
"react-components",
"react-hook",
"react hook",
"react hooks",
"react-hooks",
"react-custom-hook",
"react-custom-hooks",
"react custom hook",
"react custom hooks",
"react utils",
"react util",
"react lazy",
"utilities",
"typescript",
"custom-hooks",
"tree-shakeable",
"modern-react",
"react-tools",
"ui-components",
"state-management",
"performance",
"web-api",
"dom-hooks",
"lifecycle-hooks"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nDriaDev/react-tools"
},
"author": {
"name": "Andrea Cosentino",
"email": "andreacosentino.work@gmail.com",
"url": "https://github.com/nDriaDev/"
},
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/nDriaDev/react-tools/issues"
},
"homepage": "https://react-tools.ndria.dev",
"license": "MIT"
}