mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"name": "epg",
|
|
"scripts": {
|
|
"act:check": "act pull_request -W .github/workflows/check.yml",
|
|
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
|
|
"api:load": "npx tsx scripts/commands/api/load.ts",
|
|
"api:generate": "npx tsx scripts/commands/api/generate.ts",
|
|
"channels:lint": "npx tsx scripts/commands/channels/lint.mts",
|
|
"channels:parse": "npx tsx scripts/commands/channels/parse.ts",
|
|
"channels:edit": "npx tsx scripts/commands/channels/edit.ts",
|
|
"channels:validate": "npx tsx scripts/commands/channels/validate.ts",
|
|
"sites:init": "npx tsx scripts/commands/sites/init.ts",
|
|
"sites:update": "npx tsx scripts/commands/sites/update.ts",
|
|
"grab": "npx tsx scripts/commands/epg/grab.ts",
|
|
"lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,js}\"",
|
|
"test": "run-script-os",
|
|
"test:win32": "SET \"TZ=Pacific/Nauru\" && npx jest --runInBand",
|
|
"test:default": "TZ=Pacific/Nauru npx jest --runInBand",
|
|
"postinstall": "skip-postinstall || npm run api:load",
|
|
"prepare": "husky"
|
|
},
|
|
"private": true,
|
|
"author": "Arhey",
|
|
"license": "UNLICENSED",
|
|
"jest": {
|
|
"setupFiles": [
|
|
"<rootDir>/node_modules/jest-offline"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(ts|js)$": "@swc/jest"
|
|
},
|
|
"testMatch": [
|
|
"<rootDir>/sites/**/*.test.(js|ts)",
|
|
"<rootDir>/tests/commands/**/*.test.(js|ts)"
|
|
],
|
|
"testTimeout": 10000
|
|
},
|
|
"dependencies": {
|
|
"@alex_neo/jest-expect-message": "^1.0.5",
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@eslint/js": "^9.17.0",
|
|
"@freearhey/core": "^0.5.1",
|
|
"@ntlab/sfetch": "^1.2.0",
|
|
"@octokit/core": "^6.1.3",
|
|
"@octokit/plugin-paginate-rest": "^11.3.6",
|
|
"@octokit/plugin-rest-endpoint-methods": "^13.2.6",
|
|
"@swc/core": "^1.10.4",
|
|
"@swc/jest": "^0.2.37",
|
|
"@types/cli-progress": "^3.11.3",
|
|
"@types/fs-extra": "^11.0.2",
|
|
"@types/inquirer": "^9.0.3",
|
|
"@types/jest": "^29.5.5",
|
|
"@types/lodash": "^4.14.199",
|
|
"@types/node-cleanup": "^2.1.2",
|
|
"@types/numeral": "^2.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
"@typescript-eslint/parser": "^8.20.0",
|
|
"axios": "^1.5.1",
|
|
"axios-cookiejar-support": "^5.0.4",
|
|
"chalk": "^4.1.2",
|
|
"cheerio": "^1.0.0-rc.10",
|
|
"cli-progress": "^3.12.0",
|
|
"commander": "^8.2.0",
|
|
"consola": "^3.2.3",
|
|
"csv-parser": "^3.0.0",
|
|
"cwait": "^1.1.2",
|
|
"dayjs": "^1.11.10",
|
|
"epg-grabber": "^0.38.0",
|
|
"epg-parser": "^0.3.1",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"form-data": "^4.0.0",
|
|
"fs-extra": "^10.0.1",
|
|
"fuse.js": "^7.0.0",
|
|
"glob": "^7.2.0",
|
|
"globals": "^15.14.0",
|
|
"husky": "^9.1.7",
|
|
"iconv-lite": "^0.4.24",
|
|
"inquirer": "^8.2.6",
|
|
"jest": "^29.7.0",
|
|
"jest-offline": "^1.0.1",
|
|
"langs": "^2.0.0",
|
|
"libxml2-wasm": "^0.5.0",
|
|
"lodash": "^4.17.21",
|
|
"luxon": "^3.3.0",
|
|
"mockdate": "^3.0.5",
|
|
"nedb-promises": "^6.0.3",
|
|
"node-cleanup": "^2.1.2",
|
|
"node-gzip": "^1.1.2",
|
|
"numeral": "^2.0.6",
|
|
"pako": "^2.1.0",
|
|
"parse-duration": "^1.0.0",
|
|
"pdf-parse": "^1.1.1",
|
|
"pm2": "^5.4.3",
|
|
"readline": "^1.3.0",
|
|
"run-script-os": "^1.1.6",
|
|
"serve": "^14.2.4",
|
|
"signale": "^1.4.0",
|
|
"skip-postinstall": "^1.0.0",
|
|
"socks-proxy-agent": "^8.0.5",
|
|
"srcset": "^4.0.0",
|
|
"table2array": "^0.0.2",
|
|
"tabletojson": "^2.0.7",
|
|
"tough-cookie": "^5.0.0",
|
|
"transliteration": "^2.2.0",
|
|
"tsx": "^4.19.2",
|
|
"unzipit": "^1.4.0",
|
|
"wildcard-match": "^5.1.2"
|
|
}
|
|
}
|