mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-09 08:30:03 -04:00
85 lines
3.1 KiB
JSON
85 lines
3.1 KiB
JSON
{
|
|
"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:test": "tsx scripts/commands/playlist/test.ts",
|
|
"playlist:edit": "tsx scripts/commands/playlist/edit.ts",
|
|
"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$": "@swc/jest"
|
|
},
|
|
"testRegex": "tests/(.*?/)?.*test.ts$",
|
|
"setupFilesAfterEnv": [
|
|
"jest-expect-message"
|
|
]
|
|
},
|
|
"author": "Arhey",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@eslint/eslintrc": "^3.3.0",
|
|
"@eslint/js": "^9.21.0",
|
|
"@freearhey/core": "^0.8.2",
|
|
"@freearhey/search-js": "^0.1.2",
|
|
"@inquirer/prompts": "^7.4.1",
|
|
"@octokit/core": "^6.1.4",
|
|
"@octokit/plugin-paginate-rest": "^11.4.3",
|
|
"@octokit/plugin-rest-endpoint-methods": "^7.1.3",
|
|
"@octokit/types": "^11.1.0",
|
|
"@swc/jest": "^0.2.38",
|
|
"@types/cli-progress": "^3.11.3",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@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",
|
|
"async-es": "^3.2.6",
|
|
"axios": "^1.7.9",
|
|
"chalk": "^4.1.2",
|
|
"cli-progress": "^3.12.0",
|
|
"command-exists": "^1.2.9",
|
|
"commander": "^8.3.0",
|
|
"console-table-printer": "^2.12.1",
|
|
"eslint": "^9.17.0",
|
|
"glob": "^11.0.2",
|
|
"globals": "^16.0.0",
|
|
"iptv-checker": "^0.29.1",
|
|
"iptv-playlist-parser": "^0.13.0",
|
|
"jest": "^29.7.0",
|
|
"jest-expect-message": "^1.1.3",
|
|
"lodash": "^4.17.21",
|
|
"m3u-linter": "^0.4.2",
|
|
"markdown-include": "^0.4.3",
|
|
"node-cleanup": "^2.1.2",
|
|
"numeral": "^2.0.6",
|
|
"tsx": "^4.6.2",
|
|
"valid-url": "^1.0.9"
|
|
},
|
|
"overrides": {
|
|
"jest": {
|
|
"glob": "11.0.2"
|
|
}
|
|
}
|
|
}
|