-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.51 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
{
"$schema": "https://json.schemastore.org/package.json",
"packageManager": "[email protected]+",
"devDependencies": {
"@biomejs/biome": "latest",
"bun": "latest"
},
"dependencies": {
"axios": "^1.7.7",
"nodemon": "^3.1.7"
},
"scripts": {
"build": "bash ./build.sh --frontend-ts",
"build-with-gleam": "bash ./build.sh --frontend-gleam",
"format": "bun run format:gleam && bun run format:ts && bun run minify:css",
"format:gleam": "echo \"Incomplete script.\"",
"format:ts": "bun x biome format . --write",
"minify": "bun run minify:css",
"start": "cd ./backend/ && gleam run ",
"dev-ts": "bun run build && bun run start",
"dev-gleam": "bun run build-with-gleam && bun run start",
"watch-ts": "bun x nodemon -e ts,gleam,svg,handlebars,hb,pcss,css --ignore './shared/build/**' --ignore './frontend/build/**' --ignore './backend/build/**' --ignore './backend/priv/generated/**' --exec bun run dev-ts ",
"watch-gleam": "bun x nodemon -e mjs,gleam,svg,handlebars,hb,pcss,css --ignore './shared/build/**' --ignore './frontend/build/**' --ignore './backend/build/**' --ignore './backend/priv/generated/**' --exec bun run dev-gleam ",
"clean": "rm -rf ./backend/node_modules/ && rm -rf ./frontend/node_modules/ && rm -rf ./frontend-ts/node_modules/ && rm -rf ./backend/priv/generated && mkdir -p ./backend/priv/generated/css && mkdir -p ./backend/priv/generated/js && cd backend && gleam clean && cd ../frontend && gleam clean && cd ../shared && gleam clean"
},
"trustedDependencies": ["@biomejs/biome", "bun"]
}