mirror of
https://github.com/iptv-org/iptv.git
synced 2024-08-25 00:01:09 +02:00
50 lines
1.9 KiB
JSON
50 lines
1.9 KiB
JSON
{
|
|
"name": "iptv",
|
|
"scripts": {
|
|
"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 -x",
|
|
"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 -x",
|
|
"readme:update": "node scripts/commands/readme/update.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",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|