{
  "name": "polyv-live-cli",
  "version": "1.2.45",
  "description": "CLI tool for managing PolyV live streaming services.",
  "main": "dist/index.js",
  "bin": {
    "polyv-live-cli": "dist/index.js"
  },
  "files": [
    "/dist"
  ],
  "keywords": [
    "polyv",
    "cli",
    "live-streaming",
    "typescript",
    "streaming",
    "video",
    "broadcast",
    "command-line"
  ],
  "author": "PolyV Team",
  "license": "MIT",
  "homepage": "https://github.com/polyv/polyv-live-cli#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/polyv/polyv-live-cli.git"
  },
  "bugs": {
    "url": "https://github.com/polyv/polyv-live-cli/issues"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "dependencies": {
    "blessed": "^0.1.81",
    "blessed-contrib": "^4.11.0",
    "cli-table3": "^0.6.3",
    "commander": "^11.1.0",
    "dotenv": "^16.3.1",
    "js-yaml": "^4.1.1",
    "polyv-live-api-sdk": "1.0.20"
  },
  "devDependencies": {
    "@types/blessed": "^0.1.19",
    "@types/jest": "^29.5.8",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^20.10.0",
    "@typescript-eslint/eslint-plugin": "^6.13.0",
    "@typescript-eslint/parser": "^6.13.0",
    "auto-changelog": "^2.4.0",
    "eslint": "^8.54.0",
    "jest": "^29.7.0",
    "jest-junit": "^16.0.0",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.1",
    "typescript": "^5.3.0"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node",
    "transform": {
      "^.+\\.tsx?$": [
        "ts-jest",
        {
          "useESM": false
        }
      ]
    },
    "maxWorkers": 4,
    "cache": true,
    "forceExit": true,
    "setupFiles": [
      "<rootDir>/jest.setup.js"
    ],
    "testMatch": [
      "<rootDir>/src/**/*.test.ts",
      "<rootDir>/tests/**/*.spec.ts",
      "<rootDir>/tests/**/*.test.ts"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "/dist/",
      "/tests/performance/",
      "/tests/auth/",
      "/tests/cli-setup/",
      "/tests/integration/",
      "index-integration.spec.ts",
      "index-coverage.spec.ts",
      "src/performance"
    ],
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/**/*.d.ts",
      "!src/performance/**/*.ts"
    ],
    "coverageReporters": [
      "text",
      "json-summary",
      "lcov",
      "html"
    ],
    "coverageDirectory": "coverage",
    "coverageThreshold": {
      "global": {
        "branches": 70,
        "functions": 80,
        "lines": 80,
        "statements": 80
      }
    },
    "reporters": [
      "default",
      [
        "jest-junit",
        {
          "outputDirectory": "./test-results",
          "outputName": "junit.xml"
        }
      ]
    ]
  },
  "scripts": {
    "build": "tsc && cp -r src/setup-scenes dist/ && chmod +x dist/index.js",
    "start": "node dist/index.js",
    "dev": "ts-node src/index.ts",
    "test": "jest",
    "test:unit": "jest --testPathIgnorePatterns=tests/ --testPathIgnorePatterns=src/performance",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage --ci",
    "test:debug": "JEST_VERBOSE=true jest",
    "test:coverage:debug": "JEST_VERBOSE=true jest --coverage",
    "test:integration": "pnpm --filter polyv-live-api-sdk build && npm run build && RUN_INTEGRATION_TESTS=true POLYV_INTEGRATION_TESTS=true jest --config=jest.integration.config.js; status=$?; npm run cleanup:test-channels; exit $status",
    "test:performance": "jest --testPathIgnorePatterns=/node_modules/ --testPathIgnorePatterns=/dist/ --testPathPattern=performance",
    "test:auth": "jest --testPathIgnorePatterns=/node_modules/ --testPathIgnorePatterns=/dist/ --testPathPattern=auth",
    "test:cli": "jest --testPathIgnorePatterns=/node_modules/ --testPathIgnorePatterns=/dist/ --testPathPattern=cli-setup",
    "test:all": "jest --testPathIgnorePatterns=/node_modules/ --testPathIgnorePatterns=/dist/",
    "cleanup:test-channels": "node cleanup-test-channels.js",
    "lint": "eslint src/**/*.ts",
    "lint:fix": "eslint src/**/*.ts --fix",
    "version": "npm run build",
    "postversion": "git push && git push --tags",
    "changelog": "auto-changelog",
    "changelog:update": "auto-changelog --package --template keepachangelog --commit-limit false",
    "release:patch": "npm version patch",
    "release:minor": "npm version minor",
    "release:major": "npm version major",
    "preversion": "npm run changelog:update && git add CHANGELOG.md"
  }
}