-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.77 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.77 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
{
"name": "r2sql-shell",
"version": "1.1.0",
"description": "Interactive REPL for querying R2 Data Catalog with R2 SQL",
"main": "dist/index.js",
"type": "module",
"bin": {
"r2sql-shell": "./dist/index.js"
},
"scripts": {
"build": "tsc",
"bundle": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=dist/bundle.cjs --external:blessed",
"start": "node dist/index.js",
"dev": "tsc && node dist/index.js",
"watch": "tsc --watch",
"package": "npm run bundle && pkg dist/bundle.cjs --output ./bin/r2sql-shell",
"package:macos": "npm run bundle && pkg dist/bundle.cjs --targets node18-macos-x64 --output ./bin/r2sql-shell-macos",
"package:linux": "npm run bundle && pkg dist/bundle.cjs --targets node18-linux-x64 --output ./bin/r2sql-shell-linux",
"package:windows": "npm run bundle && pkg dist/bundle.cjs --targets node18-win-x64 --output ./bin/r2sql-shell-win.exe",
"package:all": "npm run package:macos && npm run package:linux && npm run package:windows"
},
"keywords": [
"r2",
"sql",
"cloudflare",
"repl",
"cli"
],
"author": "",
"license": "MIT",
"dependencies": {
"@iarna/toml": "^2.2.5",
"@types/inquirer": "^9.0.9",
"asciichart": "^1.5.25",
"blessed": "^0.1.81",
"chalk": "^5.3.0",
"cli-table3": "^0.6.5",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"inquirer": "^12.10.0",
"node-fetch": "^3.3.2",
"open": "^8.4.2",
"pkg": "^5.8.1",
"readline": "^1.3.0",
"sql-formatter": "^15.4.2",
"wrangler": "^4.45.4"
},
"devDependencies": {
"@types/node": "^20.16.12",
"esbuild": "^0.25.12",
"typescript": "^5.6.3"
},
"pkg": {
"assets": [
"node_modules/blessed/**/*"
],
"outputPath": "bin"
}
}