Files
iptv/package.json

82 lines
3.1 KiB
JSON
Raw Normal View History

2018-11-16 02:41:15 +03:00
{
"name": "iptv",
"scripts": {
2023-06-21 13:15:46 +03:00
"act:check": "act pull_request -W .github/workflows/check.yml",
2023-09-17 04:20:05 +03:00
"act:format": "act workflow_dispatch -W .github/workflows/format.yml",
2023-06-21 13:15:46 +03:00
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
2023-12-09 19:57:24 +03:00
"api:load": "tsx scripts/commands/api/load.ts",
"api:generate": "tsx scripts/commands/api/generate.ts",
2023-06-25 14:01:31 +03:00
"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",
2023-12-09 19:57:24 +03:00
"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",
2022-02-12 01:58:14 +03:00
"playlist:lint": "npx m3u-linter -c m3u-linter.json",
2025-03-15 07:28:50 +03:00
"playlist:test": "tsx scripts/commands/playlist/test.ts",
2025-04-16 20:19:05 +03:00
"playlist:edit": "tsx scripts/commands/playlist/edit.ts",
2023-06-25 14:01:14 +03:00
"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",
2023-12-09 19:57:24 +03:00
"readme:update": "tsx scripts/commands/readme/update.ts",
"report:create": "tsx scripts/commands/report/create.ts",
2023-10-07 07:30:54 +03:00
"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",
2023-04-28 17:35:05 +03:00
"deploy": "npm run playlist:deploy && npm run api:deploy",
2025-07-29 04:21:38 +03:00
"lint": "npx eslint \"scripts/**/*.{ts,js}\" \"tests/**/*.{ts,js}\"",
2023-09-15 18:39:17 +03:00
"test": "jest --runInBand",
2023-10-07 07:30:54 +03:00
"postinstall": "npm run api:load"
2021-12-12 07:09:35 +03:00
},
"jest": {
2023-09-15 18:39:17 +03:00
"transform": {
2025-05-01 02:32:48 +03:00
"^.+\\.ts$": "@swc/jest"
2023-09-15 18:39:17 +03:00
},
2023-09-22 05:17:22 +03:00
"testRegex": "tests/(.*?/)?.*test.ts$",
2022-02-07 02:27:15 +03:00
"setupFilesAfterEnv": [
2023-09-15 18:39:17 +03:00
"jest-expect-message"
2022-02-07 02:27:15 +03:00
]
2018-11-16 02:41:15 +03:00
},
2020-03-14 17:09:02 +03:00
"author": "Arhey",
2018-11-24 01:05:24 +03:00
"private": true,
2019-09-29 18:15:55 +03:00
"license": "MIT",
2021-03-06 21:14:09 +03:00
"dependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.32.0",
"@freearhey/core": "^0.10.2",
2025-04-16 20:19:05 +03:00
"@freearhey/search-js": "^0.1.2",
"@inquirer/prompts": "^7.8.0",
"@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^13.1.1",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@octokit/types": "^14.1.0",
"@swc/jest": "^0.2.39",
"@types/cli-progress": "^3.11.6",
2025-04-23 20:55:48 +03:00
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/numeral": "^2.0.5",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
2025-03-15 07:28:50 +03:00
"async-es": "^3.2.6",
"axios": "^1.11.0",
"chalk": "^5.4.1",
2023-10-07 07:30:54 +03:00
"cli-progress": "^3.12.0",
2025-03-15 07:28:50 +03:00
"command-exists": "^1.2.9",
"commander": "^14.0.0",
"console-table-printer": "^2.14.6",
"cross-env": "^10.0.0",
"eslint": "^9.32.0",
"glob": "^11.0.3",
"globals": "^16.3.0",
2025-03-15 07:28:50 +03:00
"iptv-checker": "^0.29.1",
2025-07-10 21:14:02 +03:00
"iptv-playlist-parser": "^0.15.0",
"jest": "^30.0.5",
2023-09-15 18:39:17 +03:00
"jest-expect-message": "^1.1.3",
2021-12-12 07:09:35 +03:00
"lodash": "^4.17.21",
2025-01-13 00:06:53 +03:00
"m3u-linter": "^0.4.2",
2021-01-20 01:06:15 +03:00
"markdown-include": "^0.4.3",
2025-04-16 20:19:05 +03:00
"node-cleanup": "^2.1.2",
2023-10-07 07:30:54 +03:00
"numeral": "^2.0.6",
"tsx": "^4.20.3",
2024-12-20 05:46:52 +03:00
"valid-url": "^1.0.9"
2018-11-16 02:41:15 +03:00
}
}