-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
75 lines (75 loc) · 2.16 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
{
"name": "json-schema-to-zod",
"version": "2.5.0",
"description": "Converts JSON schema objects or files into Zod schemas",
"types": "./dist/types/index.d.ts",
"bin": "./dist/cjs/cli.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"scripts": {
"build:types": "tsc -p tsconfig.types.json",
"build:cjs": "tsc -p tsconfig.cjs.json && node postcjs.js",
"build:esm": "tsc -p tsconfig.esm.json && node postesm.js",
"build": "npm i && npm run gen && npm test && rimraf ./dist && npm run build:types && npm run build:cjs && npm run build:esm",
"dry": "npm run build && npm pub --dry-run",
"dev": "tsx watch test/index.ts",
"gen": "tsx ./createIndex.ts",
"test": "tsx test/index.ts"
},
"c8": {
"exclude": [
"dist",
"createIndex.ts",
"jest.config.js",
"postcjs.js",
"postesm.js",
"test"
]
},
"keywords": [
"zod",
"json",
"schema",
"converter",
"cli"
],
"author": "Stefan Terdell",
"contributors": [
"Chen (https://github.com/werifu)",
"Nuno Carduso (https://github.com/ncardoso-barracuda)",
"Lars Strojny (https://github.com/lstrojny)",
"Navtoj Chahal (https://github.com/navtoj)",
"Ben McCann (https://github.com/benmccann)",
"Dmitry Zakharov (https://github.com/DZakh)",
"Michel Turpin (https://github.com/grimly)",
"David Barratt (https://github.com/davidbarratt)",
"pevisscher (https://github.com/pevisscher)",
"Aidin Abedi (https://github.com/aidinabedi)",
"Brett Zamir (https://github.com/brettz9)",
"vForgeOne (https://github.com/vforgeone)"
],
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/StefanTerdell/json-schema-to-zod"
},
"devDependencies": {
"@types/json-schema": "^7.0.15",
"@types/node": "^20.9.0",
"fast-diff": "^1.3.0",
"rimraf": "^5.0.5",
"tsx": "^4.1.1",
"typescript": "^5.2.2",
"zod": "^3.22.4"
}
}