Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 4.01 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 4.01 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
{
"name": "roamgate",
"private": true,
"version": "0.7.5",
"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.1"
},
"workspaces": [
"web",
"server"
],
"scripts": {
"dev:server": "bun run --filter roamgate-server dev",
"dev:web": "bun run --filter roamgate-web dev",
"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": "eslint . --cache --cache-strategy content --cache-location node_modules/.cache/eslint/",
"test": "bun test",
"test:quick": "bun test --path-ignore-patterns '**/{uiScale,mobileTerminal,filePreviewNavigation,TerminalThemeDialog,VisualPreview,ThemedSelect,HerdrSetupCard}.test.ts'",
"test:browser": "bun test ./web/src/uiScale.test.ts ./web/src/mobileTerminal.test.ts ./web/src/filePreviewNavigation.test.ts ./web/src/components/TerminalThemeDialog.test.ts ./web/src/components/VisualPreview.test.ts ./web/src/components/ThemedSelect.test.ts ./web/src/components/HerdrSetupCard.test.ts",
"typecheck": "tsc --noEmit && bun run --filter roamgate-web typecheck && bun run --filter roamgate-server typecheck",
"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",
"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.9",
"@eslint/js": "^10.0.1",
"@types/web-push": "^3.6.4",
"bun-types": "^1.4.1",
"eslint": "^10.6.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.7.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.0"
}
}