mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-04 00:00:40 +02:00
68 lines
2.6 KiB
JSON
68 lines
2.6 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: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.4",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/numeral": "^2.0.3",
|
|
"axios": "^1.5.1",
|
|
"chalk": "^4.1.2",
|
|
"cli-progress": "^3.12.0",
|
|
"commander": "^8.3.0",
|
|
"iptv-playlist-parser": "^0.13.0",
|
|
"jest-expect-message": "^1.1.3",
|
|
"lodash": "^4.17.21",
|
|
"m3u-linter": "^0.3.0",
|
|
"markdown-include": "^0.4.3",
|
|
"numeral": "^2.0.6",
|
|
"transliteration": "^2.3.5",
|
|
"ts-jest": "^29.1.1",
|
|
"tsx": "^4.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
"@typescript-eslint/parser": "^6.7.2",
|
|
"eslint": "^8.49.0"
|
|
}
|
|
}
|