-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
75 lines (75 loc) · 2.14 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.4.1",
"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": "c8 --all 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)"
],
"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",
"c8": "^10.1.2",
"fast-diff": "^1.3.0",
"rimraf": "^5.0.5",
"tsx": "^4.1.1",
"typescript": "^5.2.2",
"zod": "^3.22.4"
}
}