UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

132 lines (131 loc) 4.01 kB
{ "name": "polyv-live-cli", "version": "1.1.13", "description": "CLI tool for managing PolyV live streaming services.", "main": "dist/index.js", "bin": { "polyv-live-cli": "dist/index.js" }, "files": [ "/dist" ], "scripts": { "build": "tsc", "start": "node dist/index.js", "dev": "ts-node src/index.ts", "test": "jest", "test:unit": "jest --testPathIgnorePatterns=tests/integration --testPathIgnorePatterns=src/performance", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:debug": "JEST_VERBOSE=true jest", "test:coverage:debug": "JEST_VERBOSE=true jest --coverage", "test:integration": "RUN_INTEGRATION_TESTS=true POLYV_INTEGRATION_TESTS=true jest --testPathIgnorePatterns=/node_modules/ --testPathIgnorePatterns=/dist/ --testPathPattern=integration; npm run cleanup:test-channels", "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", "prepublishOnly": "npm run build && npm test", "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" }, "keywords": [ "polyv", "cli", "live-streaming", "typescript", "streaming", "video", "broadcast", "command-line" ], "author": "PolyV Team", "license": "MIT", "homepage": "https://github.com/terryso/polyv-live-cli#readme", "repository": { "type": "git", "url": "git+https://github.com/terryso/polyv-live-cli.git" }, "bugs": { "url": "https://github.com/terryso/polyv-live-cli/issues" }, "engines": { "node": ">=18.0.0" }, "dependencies": { "axios": "^1.6.0", "blessed": "^0.1.81", "blessed-contrib": "^4.11.0", "cli-table3": "^0.6.3", "commander": "^11.1.0", "dotenv": "^16.3.1" }, "devDependencies": { "@types/blessed": "^0.1.19", "@types/jest": "^29.5.8", "@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", "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": false, "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" ], "coverageThreshold": { "global": { "branches": 70, "functions": 80, "lines": 80, "statements": 80 } } } }