-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
34 lines (34 loc) · 1.6 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
{
"devDependencies": {
"concurrently": "^9.2.0",
"cpx2": "^8.0.0",
"esbuild": "^0.25.9",
"@tailwindcss/cli": "^4.1.11",
"@tailwindcss/postcss": "^4.1.12",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-import-ext-glob": "^2.1.1",
"tailwindcss": "^4.1.12",
"typescript": "^5.9.2",
"watch": "^0.13.0"
},
"scripts": {
"build:postcss": "postcss ./web/src/static/styles/in.css -o ./web/out/static/stylesheet.css --verbose",
"watch:postcss": "npx watch 'npm run build:postcss' web/src",
"build:ts": "esbuild $(find web/src/ts -name '*.ts' -type f) --bundle --outdir=web/out/static/js --sourcemap --format=esm --splitting --minify",
"watch:ts": "esbuild $(find web/src/ts -name '*.ts' -type f) --bundle --outdir=web/out/static/js --sourcemap --format=esm --splitting --watch",
"build:html": "cpx \"web/src/templates/**/*.html\" web/out",
"watch:html": "cpx \"web/src/templates/**/*.html\" web/out --watch --verbose",
"build:assets": "cpx \"web/src/static/assets/**/*\" web/out/static/assets",
"watch:assets": "cpx \"web/src/static/assets/**/*\" web/out/static/assets --watch --verbose",
"build": "npm run build:html && npm run build:ts && npm run build:postcss && npm run build:assets",
"dev": "concurrently -k -n html,ts,css,assets \"npm:watch:html\" \"npm:watch:ts\" \"npm:watch:postcss\" \"npm:watch:assets\"",
"serve": "go run .",
"godev": "wgo run -file=out/ -file=src/ .",
"start": "concurrently -k -n assets,server \"npm:dev\" \"npm:godev\""
},
"engines": {
"node": ">=20.18.3"
}
}