{
    "name": "@unraid/api",
    "version": "4.27.2",
    "main": "src/cli/index.ts",
    "type": "module",
    "corepack": {
        "enabled": true
    },
    "repository": "git@github.com:unraid/api.git",
    "author": "Lime Technology, Inc. <unraid.net>",
    "license": "GPL-2.0-or-later",
    "engines": {
        "pnpm": "10.15.0"
    },
    "scripts": {
        "// Development": "",
        "start": "node dist/main.js",
        "dev": "clear && vite",
        "dev:debug": "NODE_OPTIONS='--inspect-brk=9229 --enable-source-maps' vite",
        "command": "COMMAND_TESTER=true pnpm run build > /dev/null 2>&1 && NODE_ENV=development ./dist/cli.js",
        "command:raw": "./dist/cli.js",
        "// Build and Deploy": "",
        "build": "vite build --mode=production",
        "postbuild": "chmod +x dist/main.js && chmod +x dist/cli.js",
        "build:watch": "WATCH_MODE=true nodemon --watch src --ext ts,js,json --exec 'tsx ./scripts/build.ts'",
        "build:docker": "./scripts/dc.sh run --rm builder",
        "build:release": "tsx ./scripts/build.ts",
        "preunraid:deploy": "pnpm build",
        "unraid:deploy": "./scripts/deploy-dev.sh",
        "// GraphQL Codegen": "",
        "codegen": "graphql-codegen --config codegen.ts",
        "codegen:watch": "graphql-codegen --config codegen.ts --watch",
        "// Internationalization": "",
        "i18n:extract": "node ./scripts/extract-translations.mjs",
        "// Code Quality": "",
        "lint": "eslint --config .eslintrc.ts src/",
        "lint:fix": "eslint --fix --config .eslintrc.ts src/",
        "type-check": "tsc --noEmit",
        "// Testing": "",
        "test": "NODE_ENV=test vitest run",
        "test:watch": "NODE_ENV=test vitest --ui",
        "coverage": "NODE_ENV=test vitest run --coverage",
        "// Docker": "",
        "container:build": "./scripts/dc.sh build dev",
        "container:start": "pnpm run container:stop && ./scripts/dc.sh run --rm --service-ports dev",
        "container:stop": "./scripts/dc.sh stop dev",
        "container:test": "./scripts/dc.sh run --rm builder pnpm run test",
        "container:enter": "./scripts/dc.sh exec dev /bin/bash",
        "// Migration Scripts": "",
        "migration:codefirst": "tsx ./src/unraid-api/graph/migration-script.ts"
    },
    "bin": {
        "unraid-api": "dist/cli.js"
    },
    "dependencies": {
        "@apollo/client": "3.14.0",
        "@apollo/server": "4.12.2",
        "@as-integrations/fastify": "2.1.1",
        "@fastify/cookie": "11.0.2",
        "@fastify/helmet": "13.0.1",
        "@graphql-codegen/client-preset": "5.0.0",
        "@graphql-tools/load-files": "7.0.1",
        "@graphql-tools/merge": "9.1.1",
        "@graphql-tools/schema": "10.0.25",
        "@graphql-tools/utils": "10.9.1",
        "@jsonforms/core": "3.6.0",
        "@nestjs/apollo": "13.1.0",
        "@nestjs/cache-manager": "3.0.1",
        "@nestjs/common": "11.1.6",
        "@nestjs/config": "4.0.2",
        "@nestjs/core": "11.1.6",
        "@nestjs/event-emitter": "3.0.1",
        "@nestjs/graphql": "13.1.0",
        "@nestjs/passport": "11.0.5",
        "@nestjs/platform-fastify": "11.1.6",
        "@nestjs/schedule": "6.0.0",
        "@nestjs/throttler": "6.4.0",
        "@reduxjs/toolkit": "2.8.2",
        "@runonflux/nat-upnp": "1.0.2",
        "@types/diff": "8.0.0",
        "@unraid/libvirt": "2.1.0",
        "@unraid/shared": "workspace:*",
        "accesscontrol": "2.2.1",
        "atomically": "2.0.3",
        "bycontract": "2.0.11",
        "bytes": "3.1.2",
        "cache-manager": "7.2.0",
        "cacheable-lookup": "7.0.0",
        "camelcase-keys": "10.0.0",
        "casbin": "5.38.0",
        "change-case": "5.4.4",
        "chokidar": "4.0.3",
        "class-transformer": "0.5.1",
        "class-validator": "0.14.2",
        "cli-table": "0.3.11",
        "command-exists": "1.2.9",
        "convert": "5.12.0",
        "cookie": "1.0.2",
        "cron": "4.3.0",
        "cross-fetch": "4.1.0",
        "diff": "8.0.2",
        "dockerode": "4.0.7",
        "dotenv": "17.2.1",
        "escape-html": "1.0.3",
        "execa": "9.6.0",
        "exit-hook": "4.0.0",
        "fastify": "5.5.0",
        "filenamify": "7.0.0",
        "fs-extra": "11.3.1",
        "glob": "11.0.3",
        "global-agent": "3.0.0",
        "got": "14.4.7",
        "graphql": "16.11.0",
        "graphql-fields": "2.0.3",
        "graphql-scalars": "1.24.2",
        "graphql-subscriptions": "3.0.0",
        "graphql-tag": "2.12.6",
        "graphql-ws": "6.0.6",
        "html-entities": "^2.6.0",
        "ini": "5.0.0",
        "ip": "2.0.1",
        "jose": "6.0.13",
        "json-bigint-patch": "0.0.8",
        "lodash-es": "4.17.21",
        "multi-ini": "2.3.2",
        "mustache": "4.2.0",
        "nest-authz": "2.17.0",
        "nest-commander": "3.19.0",
        "nestjs-pino": "4.4.0",
        "node-cache": "5.1.2",
        "node-window-polyfill": "1.0.4",
        "openid-client": "6.6.4",
        "p-retry": "7.0.0",
        "passport-custom": "1.1.1",
        "passport-http-header-strategy": "1.1.0",
        "path-type": "6.0.0",
        "pino": "9.9.0",
        "pino-http": "10.5.0",
        "pino-pretty": "13.1.1",
        "pm2": "6.0.8",
        "reflect-metadata": "^0.1.14",
        "rxjs": "7.8.2",
        "semver": "7.7.2",
        "strftime": "0.10.3",
        "systeminformation": "5.27.8",
        "undici": "7.15.0",
        "uuid": "13.0.0",
        "ws": "8.18.3",
        "zen-observable-ts": "1.1.0",
        "zod": "3.25.76"
    },
    "peerDependencies": {
        "unraid-api-plugin-connect": "workspace:*"
    },
    "peerDependenciesMeta": {
        "unraid-api-plugin-connect": {
            "optional": true
        }
    },
    "devDependencies": {
        "@eslint/js": "9.34.0",
        "@graphql-codegen/add": "6.0.0",
        "@graphql-codegen/cli": "6.0.0",
        "@graphql-codegen/fragment-matcher": "6.0.0",
        "@graphql-codegen/import-types-preset": "3.0.1",
        "@graphql-codegen/typed-document-node": "6.0.0",
        "@graphql-codegen/typescript": "5.0.0",
        "@graphql-codegen/typescript-operations": "5.0.0",
        "@graphql-codegen/typescript-resolvers": "5.0.0",
        "@graphql-typed-document-node/core": "3.2.0",
        "@ianvs/prettier-plugin-sort-imports": "4.6.3",
        "@nestjs/testing": "11.1.6",
        "@originjs/vite-plugin-commonjs": "1.0.3",
        "@rollup/plugin-node-resolve": "16.0.1",
        "@swc/core": "1.13.5",
        "@types/async-exit-hook": "2.0.2",
        "@types/bytes": "3.1.5",
        "@types/cli-table": "0.3.4",
        "@types/command-exists": "1.2.3",
        "@types/cors": "2.8.19",
        "@types/dockerode": "3.3.43",
        "@types/graphql-fields": "1.3.9",
        "@types/graphql-type-uuid": "0.2.6",
        "@types/ini": "4.1.1",
        "@types/ip": "1.1.3",
        "@types/lodash": "4.17.20",
        "@types/lodash-es": "4.17.12",
        "@types/mustache": "4.2.6",
        "@types/node": "22.18.0",
        "@types/pify": "6.1.0",
        "@types/semver": "7.7.0",
        "@types/sendmail": "1.4.7",
        "@types/stoppable": "1.1.3",
        "@types/strftime": "0.9.8",
        "@types/supertest": "6.0.3",
        "@types/uuid": "11.0.0",
        "@types/ws": "8.18.1",
        "@types/wtfnode": "0.10.0",
        "@vitest/coverage-v8": "3.2.4",
        "@vitest/ui": "3.2.4",
        "eslint": "9.34.0",
        "eslint-plugin-import": "2.32.0",
        "eslint-plugin-no-relative-import-paths": "1.6.1",
        "eslint-plugin-prettier": "5.5.4",
        "jiti": "2.5.1",
        "nodemon": "3.1.10",
        "prettier": "3.6.2",
        "rollup-plugin-node-externals": "8.1.0",
        "supertest": "7.1.4",
        "tsx": "4.20.5",
        "type-fest": "5.0.0",
        "typescript": "5.9.2",
        "typescript-eslint": "8.41.0",
        "unplugin-swc": "1.5.7",
        "vite": "7.1.3",
        "vite-plugin-node": "7.0.0",
        "vite-tsconfig-paths": "5.1.4",
        "vitest": "3.2.4",
        "zx": "8.8.1"
    },
    "overrides": {
        "eslint": {
            "jiti": "2.5.1"
        },
        "@as-integrations/fastify": {
            "fastify": "$fastify"
        },
        "nest-authz": {
            "@nestjs/common": "$@nestjs/common",
            "@nestjs/core": "$@nestjs/core"
        }
    },
    "private": true,
    "packageManager": "pnpm@10.15.0"
}
