Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.83 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 3.83 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "roamgate",
"private": true,
"version": "0.8.6",
"description": "Roamgate: an independent community Web and PWA client for Herdr.",
"license": "MIT",
"author": "Arthur",
"homepage": "https://roamgate.dev/",
"repository": {
"type": "git",
"url": "git+https://github.com/powerfooI/roamgate.git"
},
"bugs": {
"url": "https://github.com/powerfooI/roamgate/issues"
},
"engines": {
"bun": ">=1.4.3"
},
"packageManager": "bun@1.4.3",
"workspaces": [
"web",
"server"
],
"scripts": {
"dev:server": "bun run --filter roamgate-server dev",
"dev:web": "bun run --filter roamgate-web dev",
"demo:herdr": "sh scripts/screenshot-demo/herdr.sh",
"build:web": "bun run --filter roamgate-web build",
"build:site": "bun scripts/build-pages.ts",
"build:server": "bun run --filter roamgate-server compile",
"build": "bun run build:web && bun run build:server",
"postbuild": "bun run clean:bun-build",
"build:linux-x64": "bun run build:web && bun run --filter roamgate-server compile:linux-x64",
"postbuild:linux-x64": "bun run clean:bun-build",
"build:linux-arm64": "bun run build:web && bun run --filter roamgate-server compile:linux-arm64",
"postbuild:linux-arm64": "bun run clean:bun-build",
"build:darwin-x64": "bun run build:web && bun run --filter roamgate-server compile:darwin-x64",
"postbuild:darwin-x64": "bun run clean:bun-build",
"build:darwin-arm64": "bun run build:web && bun run --filter roamgate-server compile:darwin-arm64",
"postbuild:darwin-arm64": "bun run clean:bun-build",
"build:windows-x64": "bun run build:web && bun run --filter roamgate-server compile:windows-x64",
"build:windows-arm64": "bun run build:web && bun run --filter roamgate-server compile:windows-arm64",
"build:all": "bun run build:web && bun run --filter roamgate-server compile:all",
"postbuild:all": "bun run clean:bun-build",
"package:linux-x64": "scripts/package-release.sh linux-x64",
"package:linux-arm64": "scripts/package-release.sh linux-arm64",
"package:darwin-x64": "scripts/package-release.sh darwin-x64",
"package:darwin-arm64": "scripts/package-release.sh darwin-arm64",
"package:windows-x64": "scripts/package-release.sh windows-x64",
"package:windows-arm64": "scripts/package-release.sh windows-arm64",
"release:prepare": "bun scripts/prepare-release.ts",
"label:pr": "bun scripts/classify-pr-label.ts",
"format": "biome format --write",
"format:check": "biome format",
"lint": "oxlint .",
"audit": "bun audit --json --audit-level=high",
"test": "bun test",
"test:quick": "bun test --parallel=4",
"typecheck": "tsc --noEmit && bun run --filter roamgate-web typecheck && bun run --filter roamgate-server typecheck",
"typecheck:bun": "bun check -p tsconfig.json && bun check -p web/tsconfig.json && bun check -p server/tsconfig.json",
"typecheck:quick": "tsc --noEmit && tsc --noEmit -p web/tsconfig.json && tsc --noEmit -p server/tsconfig.json",
"precommit": "bun run format:check && bun run lint && bun run typecheck && bun run test:quick",
"install-hooks": "git config core.hooksPath .githooks",
"clean:bun-build": "find server -maxdepth 1 -name '*.bun-build' -exec rm -rf {} +",
"clean": "rm -rf web/dist server/public server/src/public-files.gen.ts server/roamgate server/roamgate.exe server/roamgate-* server/herdr-gui server/herdr-gui-* && bun run clean:bun-build",
"start:server": "bun run --filter roamgate-server start"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@types/jsdom": "^30.0.0",
"@types/proper-lockfile": "4.1.4",
"@types/web-push": "^3.6.4",
"bun-types": "1.4.3",
"happy-dom": "^20.14.6",
"jsdom": "^30.1.1",
"oxlint": "1.87.0",
"typescript": "^7.0.2"
},
"overrides": {
"highlight.js": "11.12.0",
"undici": "8.11.2"
}
}