-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.57 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.57 KB
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
{
"name": "@oddlaceguy49/typebox-codegen-cli",
"version": "0.1.5",
"description": "A CLI for generating Zod, Yup, and other schemas from TypeScript types using typebox-codegen.",
"type": "module",
"bin": {
"typebox-codegen-cli": "./dist/commonjs/cli.js"
},
"main": "./dist/commonjs/cli.js",
"module": "./dist/esm/cli.js",
"types": "./dist/commonjs/cli.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/cli.d.ts",
"default": "./dist/esm/cli.js"
},
"require": {
"types": "./dist/commonjs/cli.d.ts",
"default": "./dist/commonjs/cli.js"
}
},
"./config": {
"import": {
"types": "./dist/esm/config.d.ts",
"default": "./dist/esm/config.js"
},
"require": {
"types": "./dist/commonjs/config.d.ts",
"default": "./dist/commonjs/config.js"
}
}
},
"files": [
"dist"
],
"tshy": {
"bin": {
"typebox-codegen-cli": "./src/cli.ts"
},
"exports": {
".": "./src/cli.ts",
"./config": "./src/config.ts"
}
},
"scripts": {
"dev": "bun src/cli.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "bunx tshy",
"prepublishOnly": "bun run build",
"publish:public": "npm publish --access public",
"release:patch": "npm version patch && bun run publish:public",
"release:minor": "npm version minor && bun run publish:public",
"release:major": "npm version major && bun run publish:public",
"push-release": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oddlaceguy49/typebox-codegen-cli.git"
},
"keywords": [
"typebox",
"codegen",
"cli",
"zod",
"schema",
"typescript",
"generator",
"yup",
"valibot"
],
"author": "Oddlaceguy49",
"license": "MIT",
"dependencies": {
"@sinclair/typebox-codegen": "^0.11.1",
"cosmiconfig": "^9.0.0",
"glob": "^11.0.3",
"ts-morph": "^26.0.0",
"yargs": "^18.0.0"
},
"devDependencies": {
"@types/node": "^24.1.0",
"@types/yargs": "^17.0.33",
"tshy": "^3.0.2",
"typescript": "^5.8.3"
}
}