@rachelallyson/hero-hook-form 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,148 @@
1
+ {
2
+ "name": "@rachelallyson/hero-hook-form",
3
+ "version": "1.0.0",
4
+ "description": "Typed form helpers that combine React Hook Form and HeroUI components.",
5
+ "author": "Rachel Higley",
6
+ "homepage": "https://github.com/rachelallyson/hero-hook-form#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/rachelallyson/hero-hook-form.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/rachelallyson/hero-hook-form/issues"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "keywords": [
18
+ "react",
19
+ "react-hook-form",
20
+ "heroui",
21
+ "forms",
22
+ "typescript",
23
+ "validation",
24
+ "zod",
25
+ "form-builder",
26
+ "ui-components",
27
+ "react-forms",
28
+ "form-validation",
29
+ "hero-ui",
30
+ "form-components"
31
+ ],
32
+ "license": "ISC",
33
+ "sideEffects": false,
34
+ "type": "module",
35
+ "main": "./dist/index.cjs",
36
+ "module": "./dist/index.js",
37
+ "types": "./dist/index.d.ts",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/index.js",
42
+ "require": "./dist/index.cjs"
43
+ },
44
+ "./react": {
45
+ "types": "./dist/react/index.d.ts",
46
+ "import": "./dist/react/index.js",
47
+ "require": "./dist/react/index.cjs"
48
+ }
49
+ },
50
+ "files": [
51
+ "dist",
52
+ "README.md",
53
+ "CHANGELOG.md",
54
+ "LICENSE"
55
+ ],
56
+ "engines": {
57
+ "node": ">=18.0.0"
58
+ },
59
+ "scripts": {
60
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean && tsup src/index.ts --format esm,cjs --dts --env.NODE_ENV=production --tsconfig tsconfig.react.json --out-dir dist/react",
61
+ "dev:build": "tsup src/index.ts --format esm,cjs --dts --watch",
62
+ "lint": "eslint src",
63
+ "typecheck": "tsc --noEmit",
64
+ "cy:open": "cypress open --component",
65
+ "cy:run": "cypress run --component",
66
+ "prepublishOnly": "npm run build && npm run typecheck",
67
+ "test": "npm run typecheck && npm run cy:run",
68
+ "clean": "rm -rf dist node_modules package-lock.json"
69
+ },
70
+ "devDependencies": {
71
+ "@cypress/vite-dev-server": "^7.0.0",
72
+ "@eslint/js": "^9.34.0",
73
+ "@heroui/button": "^2.2.25",
74
+ "@heroui/checkbox": "^2.3.25",
75
+ "@heroui/input": "^2.4.26",
76
+ "@heroui/radio": "^2.3.25",
77
+ "@heroui/react": "^2.8.3",
78
+ "@heroui/select": "^2.4.26",
79
+ "@heroui/spinner": "^2.2.22",
80
+ "@heroui/switch": "^2.2.23",
81
+ "@hookform/resolvers": "^5.2.1",
82
+ "@kuzu-media/eslint-config-nextjs": "^0.0.20",
83
+ "@types/node": "^24.3.0",
84
+ "@types/react": "^19.1.12",
85
+ "@types/react-dom": "^19.1.9",
86
+ "@vitejs/plugin-react": "^5.0.2",
87
+ "cypress": "^15.1.0",
88
+ "cypress-terminal-report": "^7.2.1",
89
+ "eslint": "^9.34.0",
90
+ "graphql": "^16.11.0",
91
+ "react": "^19.1.1",
92
+ "react-dom": "^19.1.1",
93
+ "react-hook-form": "^7.62.0",
94
+ "tsup": "^8.5.0",
95
+ "typescript": "^5.9.2",
96
+ "typescript-eslint": "^8.42.0",
97
+ "vite": "^7.1.4",
98
+ "zod": "^4.1.0"
99
+ },
100
+ "peerDependencies": {
101
+ "@heroui/button": ">=2 <3",
102
+ "@heroui/checkbox": ">=2 <3",
103
+ "@heroui/input": ">=2 <3",
104
+ "@heroui/radio": ">=2 <3",
105
+ "@heroui/react": ">=2 <3",
106
+ "@heroui/select": ">=2 <3",
107
+ "@heroui/spinner": ">=2 <3",
108
+ "@heroui/switch": ">=2 <3",
109
+ "react": ">=18.2.0 <20",
110
+ "react-dom": ">=18.2.0 <20",
111
+ "react-hook-form": ">=7 <8",
112
+ "zod": ">=4"
113
+ },
114
+ "peerDependenciesMeta": {
115
+ "@heroui/button": {
116
+ "optional": true
117
+ },
118
+ "@heroui/checkbox": {
119
+ "optional": true
120
+ },
121
+ "@heroui/input": {
122
+ "optional": true
123
+ },
124
+ "@heroui/radio": {
125
+ "optional": true
126
+ },
127
+ "@heroui/react": {
128
+ "optional": true
129
+ },
130
+ "@heroui/select": {
131
+ "optional": true
132
+ },
133
+ "@heroui/spinner": {
134
+ "optional": true
135
+ },
136
+ "@heroui/switch": {
137
+ "optional": true
138
+ }
139
+ },
140
+ "dependencies": {
141
+ "@tailwindcss/postcss": "^4.1.12",
142
+ "framer-motion": "^12.23.12",
143
+ "jsdom": "^26.1.0",
144
+ "postcss": "^8.5.6",
145
+ "tailwindcss": "^4.1.12",
146
+ "zod": ">=4"
147
+ }
148
+ }