-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 946 Bytes
/
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
{
"name": "stripe-to-zod",
"description": "A minimal project for generating Zod Schemas from Stripe OpenAPI spec",
"version": "0.0.2",
"author": "@christos97",
"dependencies": {
"stripe": "^12.18.0",
"tslib": "^2.6.1",
"zod": "3.21.4"
},
"devDependencies": {
"@openapi-codegen/cli": "^1.6.0",
"@openapi-codegen/typescript": "^3.0.1",
"@types/node": "^16.18.40",
"ts-node": "^10.9.1",
"ts-to-zod": "^3.1.3",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
},
"keywords": [
"stripe",
"zod",
"schema",
"openapi",
"typescript"
],
"license": "ISC",
"main": "src/index.ts",
"scripts": {
"build": "rm -rf dist/ && tsup",
"clean": "rm -rf node_modules/ dist/ pnpm-lock.yaml && pnpm i",
"gen": "pnpm gen:specs && pnpm gen:zod && pnpm build",
"gen:specs": "openapi-codegen gen stripe",
"gen:zod": "ts-to-zod",
"openapi-codegen": "openapi-codegen"
}
}