-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 847 Bytes
/
package.json
File metadata and controls
31 lines (31 loc) · 847 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
{
"name": "@hlongvu/v0-cli",
"version": "1.0.0",
"description": "CLI for creating and iterating on websites with v0.dev",
"type": "module",
"bin": {
"v0": "dist/v0.cjs"
},
"scripts": {
"start": "node src/index.js",
"dev": "node src/index.js",
"build": "esbuild src/index.js --bundle --platform=node --format=cjs --outfile=dist/v0.cjs --external:open && grep -v '^#!' dist/v0.cjs > dist/v0.tmp && printf '#!/usr/bin/env node\\n' | cat - dist/v0.tmp > dist/v0.cjs && rm dist/v0.tmp && chmod +x dist/v0.cjs",
"pack": "npm run build && npm pack"
},
"files": [
"dist/"
],
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"open": "^10.1.0",
"ora": "^8.0.1",
"v0-sdk": "latest"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"esbuild": "^0.27.4"
}
}