Skip to content

A self-hosted media server and file management system

7.0 KB
Raw Blame
{
    "private": true,
    "type": "module",
    "scripts": {
        "dev": "vite",
        "php:serve": "php artisan serve",
        "php:pail": "php artisan pail",
        "php:test": "php artisan test",
        "php:queue": "php artisan queue:listen --queue=default,encode --timeout=3600",
        "php:queue-high": "php artisan queue:listen --queue=high",
        "php:pulse": "php artisan pulse:check",
        "php:scheduler": "php artisan schedule:work",
        "php:horizon": "php artisan horizon",
        "php:reverb": "php artisan reverb:start ",
        "php:reverb-debug": "php artisan reverb:start --debug",
        "vite:dev": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold\" \"npm:php:serve\" \"npm:php:queue\" \"npm:dev\"",
        "vite:dev2": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold\" \"npm:php:serve\" \"npm:php:pail\" \"npm:dev\"",
        "vite:cron": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold,white.bold\" \"npm:php:queue\" \"npm:php:scheduler\" \"npm:dev\" \"npm:php:pulse\"",
        "vite:cronws": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold,white.bold,magenta.bold,yellow.bold\" \"npm:php:queue\" \"npm:php:scheduler\" \"npm:dev\" \"npm:php:pulse\" \"npm:php:reverb\" \"npm:php:queue-high\"",
        "vite:cronwsd": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold,white.bold,magenta.bold,yellow.bold\" \"npm:php:queue\" \"npm:php:scheduler\" \"npm:dev\" \"npm:php:pulse\" \"npm:php:reverb-debug\" \"npm:php:queue-high\"",
        "vite:php": "concurrently -k -p \"[{name}]\" -c \"blue.bold,white.bold,magenta.bold,yellow.bold\" \"npm:php:queue\" \"npm:php:pulse\" \"npm:php:reverb\" \"npm:php:queue-high\"",
        "vite:phpwsd": "concurrently -k -p \"[{name}]\" -c \"blue.bold,white.bold,magenta.bold,yellow.bold\" \"npm:php:queue\" \"npm:php:pulse\" \"npm:php:reverb-debug\" \"npm:php:queue-high\"",
        "vite:phph": "concurrently -k -p \"[{name}]\" -c \"yellow.bold,white.bold,magenta.bold\" \"npm:php:horizon\" \"npm:php:pulse\" \"npm:php:reverb\"",
        "vite:phphd": "concurrently -k -p \"[{name}]\" -c \"yellow.bold,white.bold,magenta.bold\" \"npm:php:horizon\" \"npm:php:pulse\" \"npm:php:reverb-debug\"",
        "vite:phpp": "concurrently -k -p \"[{name}]\" -c \"blue.bold,green.bold,red.bold,white.bold,magenta.bold,yellow.bold\" \"npm:php:queue\" \"npm:php:queue\" \"npm:php:queue\" \"npm:php:pulse\" \"npm:php:reverb\" \"npm:php:queue-high\"",
        "dev:octane": "powershell -NoProfile -ExecutionPolicy Bypass -File ./octane-windows.ps1",
        "dev:octane-linux": "php artisan octane:start --server=frankenphp --host=${APP_HOST:-127.0.0.1} --port=${APP_PORT:-8080} --caddyfile=./Caddyfile --watch",
        "build": "npm run pint && npm run type-check && npm run build-only",
        "build-only": "vite build",
        "type-check": "vue-tsc --build",
        "lint": "eslint .",
        "lint:fix": "eslint . --fix",
        "format": "prettier --write \"{resources/js/**/*.{js,ts,vue,json},*.{json,js,ts,md,php}}\"",
        "pint": "php ./vendor/bin/pint",
        "test": "vitest run",
        "test:coverage": "vitest run --coverage",
        "docker:build": "powershell -File docker-build.ps1 -Tag test",
        "docker:build-beta": "powershell -File docker-build.ps1 -Tag beta -Push",
        "docker:build-alpha": "powershell -File docker-build.ps1 -Tag alpha -Push",
        "docker:build-latest": "powershell -File docker-build.ps1 -Tag latest -Push",
        "docker:build-linux": "docker build . -t aminnausin/mediaserver:test --build-arg GIT_COMMIT=$(git rev-parse --short HEAD) --build-arg GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo unknown)",
        "docker:build-linux-beta": "docker build . -t aminnausin/mediaserver:beta --build-arg GIT_COMMIT=$(git rev-parse --short HEAD) --build-arg GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo unknown) && docker push aminnausin/mediaserver:beta",
        "docker:build-linux-alpha": "docker build . -t aminnausin/mediaserver:alpha --build-arg GIT_COMMIT=$(git rev-parse --short HEAD) --build-arg GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo unknown) && docker push aminnausin/mediaserver:alpha",
        "docker:build-linux-latest": "docker build . -t aminnausin/mediaserver:latest --build-arg GIT_COMMIT=$(git rev-parse --short HEAD) --build-arg GIT_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo unknown) && docker push aminnausin/mediaserver:latest"
    },
    "devDependencies": {
        "@aminnausin/cedar-ui": "^0.0.18",
        "@eslint/js": "^9.7.0",
        "@faker-js/faker": "^10.6.0",
        "@iconify-json/circum": "^1.2.2",
        "@iconify-json/lucide": "^1.2.87",
        "@iconify-json/mage": "^1.2.4",
        "@iconify-json/material-symbols-light": "^1.2.53",
        "@iconify-json/prime": "^1.2.2",
        "@iconify-json/proicons": "^1.2.19",
        "@iconify-json/svg-spinners": "^1.2.2",
        "@iconify-json/tabler": "^1.2.26",
        "@laravel/echo-vue": "^2.3.4",
        "@laravel/vite-plugin-wayfinder": "^0.1.7",
        "@tailwindcss/aspect-ratio": "^0.4.2",
        "@tailwindcss/forms": "^0.5.7",
        "@tailwindcss/vite": "^4.1.18",
        "@tsconfig/node22": "^22.0.1",
        "@types/jsdom": "^21.1.7",
        "@types/lodash-es": "^4.17.12",
        "@types/node": "^22.9.3",
        "@types/nprogress": "^0.2.3",
        "@typescript-eslint/eslint-plugin": "^8.13.0",
        "@typescript-eslint/parser": "^8.13.0",
        "@vitejs/plugin-vue": "^5.0.5",
        "@vitest/coverage-v8": "^5.0.5",
        "@vue/eslint-config-prettier": "^10.1.0",
        "@vue/eslint-config-typescript": "^14.1.3",
        "@vue/tsconfig": "^0.7.0",
        "concurrently": "^9.1.0",
        "eslint": "^9.22.0",
        "eslint-plugin-vue": "^10.0.0",
        "jiti": "^2.4.2",
        "jsdom": "^26.1.0",
        "laravel-vite-plugin": "^1.0.0",
        "prettier": "3.5.3",
        "prettier-plugin-tailwindcss": "^0.7.1",
        "rollup-plugin-visualizer": "^7.0.1",
        "tailwind-scrollbar-hide": "^4.0.0",
        "tailwindcss": "^4.1.18",
        "typescript": "~5.8.0",
        "unplugin-icons": "^23.0.1",
        "vite": "^6.2.6",
        "vite-plugin-compression": "^0.5.1",
        "vite-plugin-static-copy": "^4.1.1",
        "vitest": "^5.0.5",
        "vue-tsc": "^3.2.7"
    },
    "dependencies": {
        "@aminnausin/am-lyrics": "^1.0.4",
        "@jellyfin/libass-wasm": "4.2.4",
        "@tanstack/vue-query": "^5.77.2",
        "@vueuse/components": "^13.0.0",
        "@vueuse/core": "^13.0.0",
        "@vueuse/integrations": "^13.0.0",
        "axios": "^1.9.0",
        "blurhash": "^2.0.5",
        "chart.js": "^4.4.7",
        "focus-trap": "^7.5.4",
        "laravel-echo": "^1.19.0",
        "lodash-es": "^4.17.21",
        "nprogress": "^0.2.0",
        "pinia": "^3.0.1",
        "puppeteer": "^25.8.0",
        "pusher-js": "^8.4.0",
        "ua-parser-js": "^2.0.3",
        "vue": "^3.5.27",
        "vue-chartjs": "^5.3.2",
        "vue-router": "^4.5.0"
    }
}