-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.07 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 3.07 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
{
"name": "@hookform/lenses",
"version": "0.0.0-semantically-released",
"description": "Type-safe lenses for React Hook Form that enable precise control over nested form state. Build reusable form components with composable operations, array handling, and full TypeScript support.",
"keywords": [
"react",
"react-hook-form",
"hooks",
"form",
"forms",
"lenses",
"reusable-form-components",
"typescript",
"react-hooks",
"type-safe",
"form-management",
"react-components"
],
"homepage": "https://react-hook-form.com/docs/uselens",
"bugs": {
"url": "https://github.com/react-hook-form/lenses/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-hook-form/lenses.git"
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./rhf": {
"types": "./dist/rhf/index.d.ts",
"import": "./dist/rhf/index.js",
"require": "./dist/rhf/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"lint": "bun --bun eslint '**/*.{ts,tsx}'",
"lint:fix": "bun lint --fix",
"prettier": "prettier --check '**/*.md'",
"prettier:fix": "prettier --write '**/*.md'",
"storybook": "storybook dev -p 6006",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:watch": "vitest watch",
"test:e2e": "vitest run --project=e2e --coverage",
"test:unit": "vitest run --project=unit --coverage"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19",
"react-hook-form": "^7.55.0"
},
"devDependencies": {
"@hookform/resolvers": "^5.2.1",
"@storybook/addon-essentials": "^8.6.12",
"@storybook/experimental-addon-test": "^8.6.12",
"@storybook/react": "^8.6.12",
"@storybook/react-vite": "^8.6.12",
"@storybook/test": "^8.6.12",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/node": "^22.15.17",
"@types/react": "^19.1.3",
"@types/react-dom": "^19.1.3",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/browser": "3.1.3",
"@vitest/coverage-v8": "^3.1.3",
"babel-plugin-react-compiler": "^19.1.0-rc.1",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-storybook": "^0.12.0",
"jiti": "^2.4.2",
"jsdom": "^26.1.0",
"playwright": "^1.52.0",
"prettier": "^3.5.3",
"storybook": "^8.6.12",
"tsup": "^8.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.0",
"vite": "^6.3.5",
"vite-plugin-checker": "^0.9.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.3",
"zod": "^4.0.14"
},
"engines": {
"bun": ">=1.2"
},
"publishConfig": {
"access": "public"
}
}