-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 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
33
34
{
"$schema": "https://json.schemastore.org/package.json",
"packageManager": "[email protected]+",
"devDependencies": {
"@biomejs/biome": "latest",
"@types/bun": "latest",
"tailwindcss": "latest",
"autoprefixer": "latest",
"postcss": "latest",
"typescript": "^5.6.3",
"postcss-cli": "^11.0.0",
"clean-css-cli": "^5.6.3",
"bun": "latest"
},
"dependencies": {
"axios": "^1.7.7",
"nodemon": "^3.1.7"
},
"scripts": {
"build": "bash ./build.sh --frontend=typescript",
"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 tobundle.ts setup-prelude && bun run build-with-gleam && bun run start",
"watch-ts": "bun x nodemon --exec bun run dev-ts",
"watch-gleam": "bun x nodemon --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"]
}