mirror of
https://github.com/iptv-org/iptv.git
synced 2024-12-27 10:07:10 +00:00
73 lines
2.9 KiB
JSON
73 lines
2.9 KiB
JSON
{
|
|
"name": "iptv",
|
|
"scripts": {
|
|
"act:check": "act pull_request -W .github/workflows/check.yml",
|
|
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
|
|
"api:load": "./scripts/commands/api/load.sh",
|
|
"api:generate": "npm run ts-node 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",
|
|
"db:create": "npm run ts-node scripts/commands/database/create.ts",
|
|
"playlist:update": "npm run ts-node scripts/commands/playlist/update.ts",
|
|
"playlist:generate": "npm run ts-node scripts/commands/playlist/generate.ts",
|
|
"playlist:validate": "npm run ts-node 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": "npm run ts-node scripts/commands/readme/update.ts",
|
|
"report:create": "npm run ts-node scripts/commands/report/create.ts",
|
|
"format": "npm run db:create && npm run playlist:format",
|
|
"check": "npm run api:load && npm run playlist:lint && npm run playlist:validate",
|
|
"update": "npm run api:load && npm run db:create && npm run playlist:generate && npm run api:generate && npm run readme:update",
|
|
"deploy": "npm run playlist:deploy && npm run api:deploy",
|
|
"report": "npm run api:load && npm run report:create",
|
|
"test": "jest --runInBand",
|
|
"ts-node": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.*test.(ts|js)$": "ts-jest"
|
|
},
|
|
"testRegex": "tests/(.*?/)?.*test.(ts|js)$",
|
|
"setupFilesAfterEnv": [
|
|
"jest-expect-message"
|
|
]
|
|
},
|
|
"signale": {
|
|
"displayLabel": false,
|
|
"displayScope": false,
|
|
"displayBadge": false
|
|
},
|
|
"author": "Arhey",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@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",
|
|
"@seald-io/nedb": "^4.0.2",
|
|
"@types/fs-extra": "^11.0.1",
|
|
"@types/glob": "^8.1.0",
|
|
"@types/jest": "^29.5.4",
|
|
"@types/jest-expect-message": "^1.1.0",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/signale": "^1.4.4",
|
|
"chalk": "^4.1.2",
|
|
"commander": "^8.3.0",
|
|
"fs-extra": "^11.1.1",
|
|
"gh-pages": "^5.0.0",
|
|
"glob": "^10.3.4",
|
|
"iptv-playlist-parser": "^0.12.3",
|
|
"jest-expect-message": "^1.1.3",
|
|
"lodash": "^4.17.21",
|
|
"m3u-linter": "^0.3.0",
|
|
"markdown-include": "^0.4.3",
|
|
"natural-orderby": "^3.0.2",
|
|
"normalize-url": "^7.2.0",
|
|
"signale": "^1.4.0",
|
|
"transliteration": "^2.3.5",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|