iptv/package.json

68 lines
2.6 KiB
JSON
Raw Normal View History

2018-11-16 00:41:15 +01:00
{
"name": "iptv",
"scripts": {
2023-06-21 12:15:46 +02:00
"act:check": "act pull_request -W .github/workflows/check.yml",
2023-09-17 03:20:05 +02:00
"act:format": "act workflow_dispatch -W .github/workflows/format.yml",
2023-06-21 12:15:46 +02:00
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
2023-12-09 17:57:24 +01:00
"api:load": "tsx scripts/commands/api/load.ts",
"api:generate": "tsx scripts/commands/api/generate.ts",
2023-06-25 13:01:31 +02: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 17:57:24 +01: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-11 23:58:14 +01:00
"playlist:lint": "npx m3u-linter -c m3u-linter.json",
2023-06-25 13:01:14 +02: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 17:57:24 +01:00
"readme:update": "tsx scripts/commands/readme/update.ts",
"report:create": "tsx scripts/commands/report/create.ts",
2023-10-07 06:30:54 +02: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 16:35:05 +02:00
"deploy": "npm run playlist:deploy && npm run api:deploy",
2023-09-22 05:21:32 +02:00
"lint": "npx eslint ./scripts/**/*.ts ./tests/**/*.ts",
2023-09-15 17:39:17 +02:00
"test": "jest --runInBand",
2023-10-07 06:30:54 +02:00
"postinstall": "npm run api:load"
2021-12-12 05:09:35 +01:00
},
"jest": {
2023-09-15 17:39:17 +02:00
"transform": {
2023-09-22 04:17:22 +02:00
"^.+\\.ts$": "ts-jest"
2023-09-15 17:39:17 +02:00
},
2023-09-22 04:17:22 +02:00
"testRegex": "tests/(.*?/)?.*test.ts$",
2022-02-07 00:27:15 +01:00
"setupFilesAfterEnv": [
2023-09-15 17:39:17 +02:00
"jest-expect-message"
2022-02-07 00:27:15 +01:00
]
2018-11-16 00:41:15 +01:00
},
2020-03-14 15:09:02 +01:00
"author": "Arhey",
2018-11-23 23:05:24 +01:00
"private": true,
2019-09-29 17:15:55 +02:00
"license": "MIT",
2021-03-06 19:14:09 +01:00
"dependencies": {
2023-10-07 06:30:54 +02:00
"@freearhey/core": "^0.2.1",
2023-06-10 00:20:40 +02:00
"@octokit/core": "^4.2.1",
2023-09-15 17:39:17 +02:00
"@octokit/plugin-paginate-rest": "^7.1.2",
"@octokit/plugin-rest-endpoint-methods": "^7.1.3",
"@octokit/types": "^11.1.0",
2023-10-07 06:30:54 +02:00
"@types/cli-progress": "^3.11.3",
2023-09-15 17:39:17 +02:00
"@types/jest": "^29.5.4",
"@types/lodash": "^4.14.198",
2023-10-07 06:30:54 +02:00
"@types/numeral": "^2.0.3",
"axios": "^1.5.1",
2022-02-08 05:30:26 +01:00
"chalk": "^4.1.2",
2023-10-07 06:30:54 +02:00
"cli-progress": "^3.12.0",
2022-02-08 05:30:26 +01:00
"commander": "^8.3.0",
2023-11-01 03:01:56 +01:00
"iptv-playlist-parser": "^0.13.0",
2023-09-15 17:39:17 +02:00
"jest-expect-message": "^1.1.3",
2021-12-12 05:09:35 +01:00
"lodash": "^4.17.21",
2021-12-14 22:39:52 +01:00
"m3u-linter": "^0.3.0",
2021-01-19 23:06:15 +01:00
"markdown-include": "^0.4.3",
2023-10-07 06:30:54 +02:00
"numeral": "^2.0.6",
2023-09-15 17:39:17 +02:00
"transliteration": "^2.3.5",
2023-12-09 17:57:24 +01:00
"ts-jest": "^29.1.1",
"tsx": "^4.6.2"
2023-09-22 05:21:32 +02:00
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0"
2018-11-16 00:41:15 +01:00
}
}