-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 2.54 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
{
"name": "woozi",
"private": true,
"type": "module",
"packageManager": "pnpm@11.7.0",
"scripts": {
"web": "pnpm run build:web && deno run -A web/server.ts",
"serve:web": "deno run -A web/server.ts",
"_dev:cleanup": "sh -c 'for port in ${WOOZI_WEB_PORT:-4317} ${WOOZI_API_PORT:-8787}; do pids=$(lsof -ti tcp:$port -sTCP:LISTEN 2>/dev/null || true); if [ -n \"$pids\" ]; then kill $pids; sleep 1; fi; done'",
"_dev:cleanup:web": "sh -c 'pids=$(lsof -ti tcp:${WOOZI_WEB_PORT:-4317} -sTCP:LISTEN 2>/dev/null || true); if [ -n \"$pids\" ]; then kill $pids; sleep 1; fi'",
"dev": "pnpm run dev:docker",
"dev:infra": "sh scripts/docker-compose.sh up -d quickwit",
"dev:docker": "pnpm run dev:docker-api && pnpm run _dev:cleanup:web && WOOZI_API_TARGET=http://127.0.0.1:${WOOZI_API_PORT:-8787} pnpm run dev:web",
"dev:docker-api": "sh scripts/docker-compose.sh up -d --build quickwit openbesluitvorming",
"dev:web": "vite",
"dev:down": "sh scripts/docker-compose.sh down",
"deploy:production": "bash scripts/deploy-production.sh",
"deploy:production:infra": "bash scripts/deploy-production-infra.sh",
"monitor:prod": "deno run --allow-net --allow-env --allow-run --allow-read=/tmp --allow-write=/tmp scripts/monitor-production.ts",
"build:web": "vite build",
"test": "deno test -A",
"test:e2e": "WOOZI_RUN_LIVE_INTEGRATION=1 deno test -A tests/notubiz.test.ts",
"test:quickwit": "WOOZI_RUN_LIVE_INTEGRATION=1 deno test -A tests/quickwit.test.ts",
"test:gui": "WOOZI_RUN_LIVE_INTEGRATION=1 deno test -A tests/gui_e2e.test.ts",
"export:opub": "deno run -A src/integrations/opub/export.ts",
"extract:haarlem": "deno run -A src/main.ts haarlem 2025-01-14 2025-01-15",
"ingest:haarlem": "deno run -A src/main.ts --quickwit haarlem 2025-01-14 2025-01-15",
"lint": "oxlint src tests web/src/*.ts vite.config.ts",
"format": "oxfmt --write src tests web/src/*.ts web/*.html web/*.css vite.config.ts tsconfig.json",
"check-format": "oxfmt --check src tests web/src/*.ts web/*.html web/*.css vite.config.ts tsconfig.json",
"test:live": "WOOZI_RUN_LIVE_INTEGRATION=1 deno test -A tests/notubiz.test.ts tests/quickwit.test.ts tests/gui_e2e.test.ts"
},
"dependencies": {
"hls.js": "^1.7.1",
"swetrix": "^4.5.0"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.3.0",
"fast-xml-parser": "^5.11.0",
"happy-dom": "^20.11.6",
"marked": "^18.0.11",
"oxfmt": "^0.65.0",
"oxlint": "^1.80.0",
"svelte": "^5.56.10",
"typescript": "^7.0.2",
"vite": "^8.2.2"
}
}