2021-03-10 17:37:12 +03:00
|
|
|
{
|
|
|
|
|
"name": "epg",
|
2021-03-31 18:01:21 +03:00
|
|
|
"scripts": {
|
2023-11-17 05:04:11 +03:00
|
|
|
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
|
2023-10-10 05:13:42 +03:00
|
|
|
"api:load": "npx tsx scripts/commands/api/load.ts",
|
2023-11-17 05:04:11 +03:00
|
|
|
"api:generate": "npx tsx scripts/commands/api/generate.ts",
|
2023-10-10 05:13:42 +03:00
|
|
|
"channels:lint": "npx tsx scripts/commands/channels/lint.ts",
|
|
|
|
|
"channels:parse": "npx tsx scripts/commands/channels/parse.ts",
|
|
|
|
|
"channels:editor": "npx tsx scripts/commands/channels/editor.ts",
|
|
|
|
|
"channels:validate": "npx tsx scripts/commands/channels/validate.ts",
|
2024-12-30 09:32:10 +03:00
|
|
|
"sites:update": "npx tsx scripts/commands/sites/update.ts",
|
2023-10-10 05:13:42 +03:00
|
|
|
"grab": "npx tsx scripts/commands/epg/grab.ts",
|
2023-09-19 06:14:59 +03:00
|
|
|
"serve": "npx serve",
|
2023-10-15 14:08:15 +03:00
|
|
|
"lint": "npx eslint \"{scripts,tests}/**/*.{ts,js}\"",
|
2023-10-14 18:25:24 +03:00
|
|
|
"test": "run-script-os",
|
2023-10-14 18:53:42 +03:00
|
|
|
"test:win32": "SET \"TZ=Pacific/Nauru\" && npx jest --runInBand",
|
2023-10-14 18:25:24 +03:00
|
|
|
"test:default": "TZ=Pacific/Nauru npx jest --runInBand",
|
2023-09-19 06:14:59 +03:00
|
|
|
"postinstall": "npm run api:load"
|
2021-03-31 18:01:21 +03:00
|
|
|
},
|
2021-03-10 17:37:12 +03:00
|
|
|
"private": true,
|
|
|
|
|
"author": "Arhey",
|
2024-12-03 00:06:16 +07:00
|
|
|
"license": "UNLICENSED",
|
2021-10-24 10:43:01 +03:00
|
|
|
"jest": {
|
2023-10-02 06:30:39 +03:00
|
|
|
"transform": {
|
|
|
|
|
"^.+\\.(ts|js)$": "ts-jest"
|
|
|
|
|
},
|
2023-10-15 12:20:16 +03:00
|
|
|
"testRegex": "(tests|sites)/(.*?/)?.*test.(js|ts)$",
|
|
|
|
|
"testTimeout": 10000
|
2021-10-24 10:43:01 +03:00
|
|
|
},
|
2021-03-10 17:37:12 +03:00
|
|
|
"dependencies": {
|
2022-03-15 15:26:04 +03:00
|
|
|
"@alex_neo/jest-expect-message": "^1.0.5",
|
2023-10-14 18:02:40 +03:00
|
|
|
"@freearhey/core": "^0.3.1",
|
2023-11-19 10:46:24 +03:00
|
|
|
"@freearhey/search-js": "^0.1.1",
|
2024-12-18 17:36:45 +07:00
|
|
|
"@ntlab/sfetch": "^1.0.0",
|
2024-12-30 09:32:10 +03:00
|
|
|
"@octokit/plugin-paginate-rest": "^11.3.6",
|
|
|
|
|
"@octokit/plugin-rest-endpoint-methods": "^13.2.6",
|
2023-10-02 06:30:39 +03:00
|
|
|
"@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",
|
2024-12-15 07:25:39 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
2023-10-02 06:30:39 +03:00
|
|
|
"axios": "^1.5.1",
|
2024-12-15 07:25:39 +03:00
|
|
|
"axios-cookiejar-support": "^5.0.4",
|
2022-02-02 06:08:01 +03:00
|
|
|
"chalk": "^4.1.2",
|
2021-08-24 19:10:32 +03:00
|
|
|
"cheerio": "^1.0.0-rc.10",
|
2023-10-02 06:30:39 +03:00
|
|
|
"cli-progress": "^3.12.0",
|
2021-10-06 04:56:45 +03:00
|
|
|
"commander": "^8.2.0",
|
2023-07-19 22:31:24 +03:00
|
|
|
"consola": "^3.2.3",
|
2021-11-08 11:01:28 +03:00
|
|
|
"csv-parser": "^3.0.0",
|
2023-10-02 06:30:39 +03:00
|
|
|
"cwait": "^1.1.2",
|
2023-11-25 11:54:48 +03:00
|
|
|
"dayjs": "^1.11.10",
|
2024-12-15 07:25:39 +03:00
|
|
|
"epg-grabber": "^0.37.4",
|
2024-12-18 22:06:09 +03:00
|
|
|
"epg-parser": "^0.3.1",
|
2024-12-15 07:25:39 +03:00
|
|
|
"eslint": "^9.17.0",
|
2023-10-02 06:30:39 +03:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2021-08-21 13:20:48 +03:00
|
|
|
"form-data": "^4.0.0",
|
2022-02-26 23:21:44 +03:00
|
|
|
"fs-extra": "^10.0.1",
|
2021-10-07 17:57:21 +03:00
|
|
|
"glob": "^7.2.0",
|
2021-04-01 01:57:08 +03:00
|
|
|
"iconv-lite": "^0.4.24",
|
2023-10-02 06:30:39 +03:00
|
|
|
"inquirer": "^8.2.6",
|
|
|
|
|
"jest": "^29.7.0",
|
2022-10-26 04:41:49 +03:00
|
|
|
"langs": "^2.0.0",
|
2024-12-03 00:17:35 +07:00
|
|
|
"libxmljs2": "^0.35.0",
|
2021-10-01 21:37:07 +03:00
|
|
|
"lodash": "^4.17.21",
|
2023-05-28 21:01:36 +03:00
|
|
|
"luxon": "^3.3.0",
|
2021-10-07 20:10:54 +03:00
|
|
|
"markdown-include": "^0.4.3",
|
2021-11-25 00:02:42 +03:00
|
|
|
"mockdate": "^3.0.5",
|
2022-06-16 21:55:26 +03:00
|
|
|
"nedb-promises": "^6.0.3",
|
2022-03-04 00:41:37 +03:00
|
|
|
"node-cleanup": "^2.1.2",
|
2022-03-15 15:26:04 +03:00
|
|
|
"node-gzip": "^1.1.2",
|
2023-10-02 06:30:39 +03:00
|
|
|
"numeral": "^2.0.6",
|
2021-04-21 19:23:17 +03:00
|
|
|
"parse-duration": "^1.0.0",
|
2021-11-11 19:00:18 +03:00
|
|
|
"pdf-parse": "^1.1.1",
|
2024-12-15 07:25:39 +03:00
|
|
|
"serve": "^14.2.4",
|
2022-02-02 06:08:01 +03:00
|
|
|
"signale": "^1.4.0",
|
2021-10-01 23:56:50 +03:00
|
|
|
"srcset": "^4.0.0",
|
2022-11-26 21:37:24 +03:00
|
|
|
"table2array": "^0.0.2",
|
2021-09-22 21:27:32 +03:00
|
|
|
"tabletojson": "^2.0.7",
|
2024-12-15 07:25:39 +03:00
|
|
|
"tough-cookie": "^5.0.0",
|
2022-03-04 00:41:37 +03:00
|
|
|
"transliteration": "^2.2.0",
|
2023-10-02 06:30:39 +03:00
|
|
|
"ts-jest": "^29.1.1",
|
2024-12-15 06:10:37 +03:00
|
|
|
"tsx": "^4.19.2",
|
2022-10-26 04:41:49 +03:00
|
|
|
"unzipit": "^1.4.0",
|
2022-02-02 06:08:01 +03:00
|
|
|
"wildcard-match": "^5.1.2"
|
2023-10-14 18:25:24 +03:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"run-script-os": "^1.1.6"
|
2021-03-10 17:37:12 +03:00
|
|
|
}
|
|
|
|
|
}
|