-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.39 KB
/
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
{
"scripts": {
"tailwind": "tailwindcss -i internal/static/style/input.css -o internal/static/style/output.css",
"templ": "templ generate",
"linuxgo": "CGO_ENABLED=0 GOOS=linux go build -o ./app ./cmd/app/.",
"wingo": "go build -o ./app.exe ./cmd/app/.",
"linbuild": "npm-run-all --parallel tailwind templ --sequential linuxgo",
"winbuild": "npm-run-all --parallel tailwind templ --sequential wingo",
"air": "npm-run-all --sequential tailwind templ",
"dev": " tailwindcss -i internal/static/style/input.css -o internal/static/style/output.css --watch | air",
"exec:linux": "./app",
"build:linux": "npm-run-all --sequential templ linuxgo --parallel tailwind",
"delete:linux": "rm ./app",
"start:linux": "npm-run-all --sequential build:linux exec:linux delete:linux",
"exec:windows": ".\\app.exe",
"build:windows": "npm-run-all --sequential templ wingo --parallel tailwind",
"delete:windows": "rm ./app",
"start:windows": "npm-run-all --sequential build:windows exec:windows delete:windows"
},
"devDependencies": {
"@types/bun": "latest",
"daisyui": "^4.5.0",
"npm-run-all": "^4.1.5",
"tailwindcss": "^3.4.1"
},
"name": "lorem-ipsum",
"module": "index.ts",
"type": "module",
"peerDependencies": {
"typescript": "^5.0.0"
}
}