-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 878 Bytes
/
package.json
File metadata and controls
35 lines (35 loc) · 878 Bytes
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
{
"name": "api-to-types",
"version": "1.0.0",
"description": "Automatically generates TypeScript types from REST API responses with validation against actual endpoints.",
"main": "scripts/api-to-types.js",
"bin": {
"api-to-types": "scripts/api-to-types.js"
},
"scripts": {
"build": "tsc",
"start": "node scripts/api-to-types.js",
"test": "node scripts/api-to-types.js --help && node scripts/api-to-types.js --input-json '{\"id\":1,\"name\":\"Test\",\"active\":true}' --name TestType"
},
"keywords": [
"typescript",
"types",
"api",
"rest",
"codegen",
"type-generation",
"json-to-types"
],
"author": "OpenClaw",
"license": "MIT",
"dependencies": {
"node-fetch": "^3.3.2"
},
"devDependencies": {
"typescript": "^5.3.3",
"@types/node": "^20.11.0"
},
"engines": {
"node": ">=18.0.0"
}
}