-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 1.04 KB
/
Copy pathpackage.json
File metadata and controls
26 lines (26 loc) · 1.04 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
{
"name": "twapi",
"version": "0.1.0",
"description": "Read-only TwitterAPI.io CLI generated from OpenAPI",
"type": "module",
"bin": {
"twapi": "dist/twapi.js"
},
"scripts": {
"gen:sdk": "bash scripts/generate-sdk.sh",
"gen:registry": "node scripts/generate-registry.mjs",
"gen": "bun run gen:sdk && bun run gen:registry",
"build:js": "bun build src/cli.ts --target=node --outfile=dist/twapi.js",
"build:bin:macos-arm64": "bun build src/cli.ts --compile --target=bun-darwin-arm64 --outfile=dist/twapi-darwin-arm64",
"build:bin:linux-x64": "bun build src/cli.ts --compile --target=bun-linux-x64 --outfile=dist/twapi-linux-x64",
"build:bin:windows-x64": "bun build src/cli.ts --compile --target=bun-windows-x64 --outfile=dist/twapi-windows-x64.exe",
"build:bin": "bun run build:bin:macos-arm64 && bun run build:bin:linux-x64 && bun run build:bin:windows-x64"
},
"dependencies": {
"commander": "^14.0.1"
},
"devDependencies": {
"openapi-typescript-codegen": "^0.29.0",
"typescript": "^5.9.3"
}
}