|
|
|
@ -2,11 +2,12 @@
|
|
|
|
|
"name": "iptv",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"act:check": "act pull_request -W .github/workflows/check.yml",
|
|
|
|
|
"act:format": "act pull_request -W .github/workflows/format.yml -e act.json",
|
|
|
|
|
"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:format": "npm run ts-node scripts/commands/playlist/format.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",
|
|
|
|
@ -14,9 +15,9 @@
|
|
|
|
|
"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",
|
|
|
|
|
"format": "npm run api:load && 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",
|
|
|
|
|
"update": "npm run api:load && 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",
|
|
|
|
@ -45,7 +46,6 @@
|
|
|
|
|
"@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",
|
|
|
|
|