Lines 1-35json
2 "name": "@kumix/worker",
4 "description": "Kumix Worker is a self-hosted live-stream runner that schedules, loops, and broadcasts video sources to RTMP platforms with monitoring, crash recovery, and a local dashboard.",
5 "author": "Kumix Labs <hai@kumix.io>",
8 "main": "./dist/index.js",
10 "kumix-worker": "./dist/cli.js"
13 "clean": "rm -rf dist",
14 "clean:all": "bun run frontend:clean && rm -rf bun.lock coverage dist node_modules",
15 "postinstall": "node scripts/postinstall.js",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L15 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L15 16 "copy:public": "rm -rf dist/public && cp -R public dist/",
17 "verify:public": "test -f dist/public/index.html && echo '✓ Public directory copied successfully' || (echo '✗ ERROR: Public directory not copied!' && exit 1)",
18 "frontend:clean": "cd frontend && bun run clean",
19 "frontend:dev": "cd frontend && bun run dev",
20 "frontend:build": "cd frontend && bun run build",
21 "frontend:preview": "cd frontend && bun run preview",
22 "frontend:types:check": "cd frontend && bun run types:check",
23 "dev:api": "node --watch --import tsx src/cli.ts serve --host 0.0.0.0 --port 8080 --dev",
24 "dev": "concurrently -k -n \"worker,vite\" -c \"cyan,green\" \"bun run dev:api\" \"bun run frontend:dev\"",
25 "build": "bun run clean && tsc --noEmit false && bun run fix:esm && bun run frontend:build && bun run copy:public && bun run verify:public",
26 "fix:esm": "node scripts/fix-esm-extensions.mjs",
27 "start": "node dist/cli.js",
28 "lint": "biome check",
29 "lint:fix": "biome check --write --unsafe",
30 "format": "biome format --write",
31 "format:check": "biome check",
32 "types:check": "tsc --noEmit && bun run frontend:types:check",
34 "test:watch": "vitest",
35 "test:coverage": "vitest run --coverage",