-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
101 lines (101 loc) · 3.05 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
96
97
98
99
100
101
{
"name": "zod-to-fields",
"version": "0.1.38",
"description": "Turn your Zod schemas into configurable field arrays for easy integration with HTML, React, Vue, and more.",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"author": "Wojciech Król <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wojtekKrol/zod-to-fields.git",
"bugs": "https://github.com/wojtekKrol/zod-to-fields/issues"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/@wojtekkrol"
},
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": {
"import": "./lib/esm/index.d.ts",
"require": "./lib/cjs/index.d.ts"
},
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"files": [
"lib",
"README.md",
"LICENSE"
],
"keywords": [
"dynamic-fields",
"field-generator",
"fields",
"react",
"schema",
"svelte",
"type-safe",
"typescript",
"validation",
"vue",
"zod"
],
"peerDependencies": {
"zod": "^3.0.0"
},
"scripts": {
"dev:react": "pnpm --filter react-example dev",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"build": "tsc --project tsconfig.cjs.json && tsc-alias --project tsconfig.cjs.json && tsc --project tsconfig.esm.json && tsc-alias --project tsconfig.esm.json && echo 'Build complete'",
"freshBuild": "rimraf lib && pnpm run build",
"clean": "rimraf node_modules lib pnpm-lock.yaml",
"lint": "pnpm lint:code && pnpm lint:text && pnpm lint:types",
"lint:code": "eslint --cache --cache-location node_modules/.cache/eslint --cache-strategy content --ext ts .",
"lint:text": "prettier --check \"**/*.{json,md,mdx,yml}\"",
"lint:types": "pnpm freshBuild",
"pretest": "pnpm lint",
"coverage": "jest --coverage",
"test": "jest",
"publish:npm": "pnpm publish --access public --registry=https://registry.npmjs.org/",
"publish:github": "pnpm publish --access public --registry=https://npm.pkg.github.com/ --no-git-checks"
},
"devDependencies": {
"@changesets/cli": "^2.27.6",
"@types/jest": "29.5.5",
"@types/react": "^18.2.15",
"@types/validator": "13.11.5",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"eslint": "8.47.0",
"eslint-config-next": "13.4.19",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "27.4.0",
"eslint-plugin-prettier": "5.0.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-ts-webcompat-resolver": "1.0.0",
"lint-staged": "14.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "5.0.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tsc-alias": "1.8.8",
"tsup": "7.2.0",
"typescript": "5.4.5",
"zod": "^3.0.0"
},
"dependencies": {
"validator": "13.12.0"
}
}