-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.6 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
{
"name": "react-hook-action",
"version": "1.0.1",
"description": "A lightweight React hook for managing asynchronous actions with loading and error states, powered by Zustand.",
"keywords": [
"react",
"hooks",
"actions",
"loading-state",
"state-management",
"typescript",
"zustand",
"async"
],
"homepage": "https://github.com/shahradelahi/react-hook-action",
"repository": "github:shahradelahi/react-hook-action",
"license": "MIT",
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**",
"!**/*.d.cts"
],
"scripts": {
"bench": "vitest bench --run",
"build": "tsup",
"ci:publish": "changeset publish",
"clean": "git clean -dfx \"**/node_modules/**\" dist .tsbuildinfo",
"dev": "pnpm build --watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "pnpm typecheck && eslint .",
"lint:fix": "eslint --fix .",
"prepublishOnly": "pnpm build && pnpm lint && pnpm test && pnpm format:check",
"test": "vitest --run",
"typecheck": "tsc --skipLibCheck --noEmit"
},
"prettier": "@shahrad/prettier-config",
"dependencies": {
"p-safe": "^1.1.0",
"zustand": "^5.0.11"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@edge-runtime/vm": "^5.0.0",
"@shahrad/eslint-config": "^1.0.1",
"@shahrad/prettier-config": "^1.2.2",
"@shahrad/tsconfig": "^1.2.0",
"@sindresorhus/tsconfig": "^8.1.0",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"eslint": "^10.0.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.3.0",
"jsdom": "^28.1.0",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
"zustand": "^5.0"
},
"packageManager": "pnpm@10.30.1+sha512.3590e550d5384caa39bd5c7c739f72270234b2f6059e13018f975c313b1eb9fefcc09714048765d4d9efe961382c312e624572c0420762bdc5d5940cdf9be73a",
"publishConfig": {
"access": "public",
"provenance": true
}
}