{ "name": "iptv", "scripts": { "act:check": "act pull_request -W .github/workflows/check.yml", "act:format": "act workflow_dispatch -W .github/workflows/format.yml", "act:update": "act workflow_dispatch -W .github/workflows/update.yml", "api:load": "tsx scripts/commands/api/load.ts", "api:generate": "tsx scripts/commands/api/generate.ts", "api:deploy": "npx gh-pages-clean && npx gh-pages -a -m \"Deploy to iptv-org/api\" -d .api -r https://$GITHUB_TOKEN@github.com/iptv-org/api.git", "playlist:format": "tsx scripts/commands/playlist/format.ts", "playlist:update": "tsx scripts/commands/playlist/update.ts", "playlist:generate": "tsx scripts/commands/playlist/generate.ts", "playlist:validate": "tsx scripts/commands/playlist/validate.ts", "playlist:lint": "npx m3u-linter -c m3u-linter.json", "playlist:deploy": "npx gh-pages-clean && npx gh-pages -m \"Deploy to GitHub Pages\" -d .gh-pages -r https://$GITHUB_TOKEN@github.com/iptv-org/iptv.git", "readme:update": "tsx scripts/commands/readme/update.ts", "report:create": "tsx scripts/commands/report/create.ts", "check": "npm run playlist:lint && npm run playlist:validate", "format": "npm run playlist:format", "update": "npm run playlist:generate && npm run api:generate && npm run readme:update", "deploy": "npm run playlist:deploy && npm run api:deploy", "lint": "npx eslint ./scripts/**/*.ts ./tests/**/*.ts", "test": "jest --runInBand", "postinstall": "npm run api:load" }, "jest": { "transform": { "^.+\\.ts$": "ts-jest" }, "testRegex": "tests/(.*?/)?.*test.ts$", "setupFilesAfterEnv": [ "jest-expect-message" ] }, "author": "Arhey", "private": true, "license": "MIT", "dependencies": { "@freearhey/core": "^0.2.1", "@octokit/core": "^4.2.1", "@octokit/plugin-paginate-rest": "^7.1.2", "@octokit/plugin-rest-endpoint-methods": "^7.1.3", "@octokit/types": "^11.1.0", "@types/cli-progress": "^3.11.3", "@types/jest": "^29.5.14", "@types/lodash": "^4.14.198", "@types/numeral": "^2.0.3", "@typescript-eslint/eslint-plugin": "^8.18.1", "@typescript-eslint/parser": "^8.18.1", "axios": "^1.7.9", "chalk": "^4.1.2", "cli-progress": "^3.12.0", "commander": "^8.3.0", "eslint": "^9.17.0", "iptv-playlist-parser": "^0.13.0", "jest-expect-message": "^1.1.3", "lodash": "^4.17.21", "m3u-linter": "^0.4.1", "markdown-include": "^0.4.3", "numeral": "^2.0.6", "transliteration": "^2.3.5", "ts-jest": "^29.2.5", "tsx": "^4.6.2", "valid-url": "^1.0.9" } }