generated from kbysiec/vite-vanilla-ts-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.98 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
{
"name": "rhf-conditional-logic",
"description": "Conditional Logic for React Hook Forms. Fully typed and compatible with resolvers (e.g. Zod)",
"version": "0.1.2",
"main": "./dist/rhf-conditional-logic.cjs",
"module": "./dist/rhf-conditional-logic.mjs",
"exports": {
".": {
"types": "./dist/rhf-conditional-logic.d.ts",
"import": "./dist/rhf-conditional-logic.mjs",
"require": "./dist/rhf-conditional-logic.cjs"
}
},
"types": "./dist/rhf-conditional-logic.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/micahjon/rhf-conditional-logic.git"
},
"scripts": {
"dev": "vite --host",
"build": "rimraf dist && tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"tsc": "tsc",
"test:e2e": "npx playwright test",
"test:e2e:ui": "npx playwright test --ui",
"test:unit": "vitest --config ./tests-unit/vitest.config.ts",
"lint:scripts": "eslint . --ext .ts",
"format:scripts": "prettier . --write",
"pub": "npm run build && npm publish"
},
"dependencies": {
"ts-extras": "^0.11.0"
},
"peerDependencies": {
"react-hook-form": "^7.0.0"
},
"devDependencies": {
"@hookform/resolvers": "^3.1.1",
"@playwright/test": "^1.39.0",
"@types/jsdom": "^21.1.1",
"@types/lodash-es": "^4.17.10",
"@types/node": "^20.4.9",
"@types/react": "^18.2.31",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"lint-staged": "^13.2.3",
"lodash-es": "^4.17.21",
"postcss": "^8.4.27",
"postcss-scss": "^4.0.6",
"prettier": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.47.0",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "5.5",
"vite": "^4.4.9",
"vitest": "^0.34.6",
"zod": "^3.22.4"
}
}