mirror of https://github.com/iptv-org/iptv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.3 KiB
JSON
56 lines
2.3 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": "node scripts/commands/api/generate.js",
|
|
"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": "node scripts/commands/database/create.js",
|
|
"playlist:format": "node scripts/commands/playlist/format.js",
|
|
"playlist:generate": "node scripts/commands/playlist/generate.js",
|
|
"playlist:validate": "node scripts/commands/playlist/validate.js",
|
|
"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": "node scripts/commands/readme/update.js",
|
|
"report:create": "node scripts/commands/report/create.js",
|
|
"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"
|
|
},
|
|
"jest": {
|
|
"testRegex": "tests/(.*?/)?.*test.js$",
|
|
"setupFilesAfterEnv": [
|
|
"@alex_neo/jest-expect-message"
|
|
]
|
|
},
|
|
"author": "Arhey",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@alex_neo/jest-expect-message": "^1.0.5",
|
|
"@octokit/core": "^4.2.1",
|
|
"@octokit/plugin-paginate-rest": "^7.0.0",
|
|
"chalk": "^4.1.2",
|
|
"commander": "^8.3.0",
|
|
"dayjs": "^1.10.7",
|
|
"fs-extra": "^10.0.0",
|
|
"gh-pages": "^5.0.0",
|
|
"iptv-checker": "^0.26.0",
|
|
"iptv-playlist-parser": "^0.12.1",
|
|
"jest": "^27.5.1",
|
|
"jest-expect-message": "^1.0.2",
|
|
"lodash": "^4.17.21",
|
|
"m3u-linter": "^0.3.0",
|
|
"markdown-include": "^0.4.3",
|
|
"natural-orderby": "^2.0.3",
|
|
"nedb-promises": "^5.0.2",
|
|
"normalize-url": "^6.1.0",
|
|
"signale": "^1.4.0",
|
|
"transliteration": "^2.2.0"
|
|
}
|
|
}
|