mirror of https://github.com/iptv-org/epg.git
116 lines
3.6 KiB
JSON
116 lines
3.6 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": "tsx scripts/commands/api/load.ts",
|
|
"api:generate": "tsx scripts/commands/api/generate.ts",
|
|
"channels:lint": "tsx scripts/commands/channels/lint.mts",
|
|
"channels:parse": "tsx scripts/commands/channels/parse.ts",
|
|
"channels:edit": "tsx scripts/commands/channels/edit.ts",
|
|
"channels:validate": "tsx scripts/commands/channels/validate.ts",
|
|
"sites:init": "tsx scripts/commands/sites/init.ts",
|
|
"sites:update": "tsx scripts/commands/sites/update.ts",
|
|
"grab": "tsx scripts/commands/epg/grab.ts",
|
|
"lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,js}\"",
|
|
"test": "cross-env TZ=Pacific/Nauru npx jest --runInBand",
|
|
"postinstall": "skip-postinstall || npm run api:load",
|
|
"prepare": "husky"
|
|
},
|
|
"private": true,
|
|
"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,
|
|
"transformIgnorePatterns": [
|
|
"<rootDir>/node_modules/(?!parse-duration/.*|@freearhey/core/.*|glob/.*|srcset/.*|balanced-match/.*|minimatch/.*)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@alex_neo/jest-expect-message": "^1.0.5",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.30.0",
|
|
"@freearhey/chronos": "^0.0.1",
|
|
"@freearhey/core": "^0.10.2",
|
|
"@freearhey/search-js": "^0.1.2",
|
|
"@ntlab/sfetch": "^1.2.0",
|
|
"@octokit/core": "^7.0.3",
|
|
"@octokit/plugin-paginate-rest": "^13.1.1",
|
|
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
|
|
"@swc/core": "^1.13.0",
|
|
"@swc/jest": "^0.2.39",
|
|
"@types/cli-progress": "^3.11.6",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/inquirer": "^9.0.8",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/langs": "^2.0.5",
|
|
"@types/lodash": "^4.17.19",
|
|
"@types/node": "^24.0.14",
|
|
"@types/node-cleanup": "^2.1.5",
|
|
"@types/numeral": "^2.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
"@typescript-eslint/parser": "^8.35.0",
|
|
"axios": "^1.10.0",
|
|
"axios-cookiejar-support": "^6.0.4",
|
|
"chalk": "^5.4.1",
|
|
"cheerio": "^1.1.0",
|
|
"cli-progress": "^3.12.0",
|
|
"commander": "^14.0.0",
|
|
"consola": "^3.4.2",
|
|
"cross-env": "^7.0.3",
|
|
"csv-parser": "^3.2.0",
|
|
"cwait": "^1.1.2",
|
|
"dayjs": "^1.11.13",
|
|
"epg-grabber": "^0.41.0",
|
|
"epg-parser": "^0.3.1",
|
|
"eslint": "^9.30.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"form-data": "^4.0.4",
|
|
"fs-extra": "^11.3.0",
|
|
"glob": "^11.0.3",
|
|
"globals": "^16.3.0",
|
|
"husky": "^9.1.7",
|
|
"iconv-lite": "^0.6.3",
|
|
"inquirer": "^12.7.0",
|
|
"jest": "^30.0.3",
|
|
"jest-offline": "^1.0.1",
|
|
"langs": "^2.0.0",
|
|
"libxml2-wasm": "^0.5.0",
|
|
"lodash": "^4.17.21",
|
|
"luxon": "^3.7.1",
|
|
"mockdate": "^3.0.5",
|
|
"nedb-promises": "^6.2.3",
|
|
"node-cleanup": "^2.1.2",
|
|
"node-gzip": "^1.1.2",
|
|
"numeral": "^2.0.6",
|
|
"pako": "^2.1.0",
|
|
"parse-duration": "^2.1.4",
|
|
"pdf-parse": "^1.1.1",
|
|
"pm2": "^6.0.8",
|
|
"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": "^5.0.1",
|
|
"table2array": "^0.0.2",
|
|
"tabletojson": "^4.1.6",
|
|
"tough-cookie": "^5.1.2",
|
|
"transliteration": "^2.3.5",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.8.3",
|
|
"unzipit": "^1.4.3",
|
|
"wildcard-match": "^5.1.4"
|
|
}
|
|
}
|