-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
95 lines (95 loc) · 2.69 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
{
"name": "remix-hook-form",
"version": "6.1.0",
"description": "Utility wrapper around react-hook-form for use with react-router v7+",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"import": "./dist/index.cjs",
"require": "./dist/index.cjs"
}
}
},
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
"workspaces": [
".",
"test-apps/*"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"react-router-dev": "npm run dev -w test-apps/react-router",
"build:dev": "tsup src/index.ts --format cjs,esm --dts",
"build:dev:watch": "npm run build:dev -- --watch",
"dev": "npm-run-all -s build:dev -p react-router-dev build:dev:watch",
"vite": "npm run build --watch -m development",
"prepublishOnly": "npm run build",
"test": "vitest run",
"tsc": "tsc",
"validate": "npm run lint && npm run tsc && npm run test",
"lint": "eslint \"src/**/*.+(ts|tsx)\"",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier src --check",
"prettier:fix": "prettier src --write",
"format-code": "npm run prettier:fix & npm run lint:fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/forge42dev/remix-hook-form.git"
},
"keywords": [
"React",
"react-router",
"react-router v7",
"react-hook-form",
"hooks",
"forms"
],
"author": "Alem Tuzlak",
"license": "MIT",
"bugs": {
"url": "https://github.com/forge42dev/remix-hook-form/issues"
},
"homepage": "https://github.com/forge42dev/remix-hook-form#readme",
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"react-router": ">=7.0.0"
},
"readme": "https://github.com/forge42dev/remix-hook-form#readme",
"devDependencies": {
"@hookform/resolvers": "^3.1.0",
"@testing-library/react": "^14.0.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.34",
"@vitest/coverage-v8": "^2.0.3",
"babel-eslint": "^10.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"happy-dom": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.0",
"rollup": "^3.20.2",
"rollup-plugin-typescript2": "^0.34.1",
"tsup": "^8.3.5",
"typescript": "^5.0.4",
"vitest": "^2.0.3",
"zod": "^3.21.4"
}
}