Files
epg/package.json

109 lines
3.4 KiB
JSON
Raw Normal View History

2021-03-10 17:37:12 +03:00
{
"name": "epg",
2021-03-31 18:01:21 +03:00
"scripts": {
2025-01-01 13:03:27 +03:00
"act:check": "act pull_request -W .github/workflows/check.yml",
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",
2025-01-15 14:14:21 +03:00
"channels:lint": "npx tsx scripts/commands/channels/lint.mts",
2023-10-10 05:13:42 +03:00
"channels:parse": "npx tsx scripts/commands/channels/parse.ts",
"channels:edit": "npx tsx scripts/commands/channels/edit.ts",
2023-10-10 05:13:42 +03:00
"channels:validate": "npx tsx scripts/commands/channels/validate.ts",
2025-01-12 21:37:20 +03:00
"sites:init": "npx tsx scripts/commands/sites/init.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",
2025-01-15 14:14:21 +03:00
"lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,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",
"postinstall": "skip-postinstall || npm run api:load",
2025-01-01 13:03:27 +03:00
"prepare": "husky"
2021-03-31 18:01:21 +03:00
},
2021-03-10 17:37:12 +03:00
"private": true,
"author": "Arhey",
"license": "UNLICENSED",
2021-10-24 10:43:01 +03:00
"jest": {
2025-01-07 12:50:28 +03:00
"setupFiles": [
"<rootDir>/node_modules/jest-offline"
],
2023-10-02 06:30:39 +03:00
"transform": {
2025-01-07 12:56:44 +03:00
"^.+\\.(ts|js)$": "@swc/jest"
2023-10-02 06:30:39 +03:00
},
2025-01-13 02:29:58 +03:00
"testMatch": [
"<rootDir>/sites/**/*.test.(js|ts)",
"<rootDir>/tests/commands/**/*.test.(js|ts)"
],
2023-10-15 12:20:16 +03:00
"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",
2025-01-01 10:09:08 +03:00
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
2025-01-12 21:37:20 +03:00
"@freearhey/core": "^0.4.0",
"@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",
2025-01-07 12:56:44 +03:00
"@swc/core": "^1.10.4",
"@swc/jest": "^0.2.37",
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",
2023-10-02 06:30:39 +03:00
"cron": "^2.4.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",
2025-01-13 02:29:58 +03:00
"fuse.js": "^7.0.0",
2021-10-07 17:57:21 +03:00
"glob": "^7.2.0",
2025-01-01 10:09:08 +03:00
"globals": "^15.14.0",
2025-01-01 13:03:27 +03:00
"husky": "^9.1.7",
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",
2025-01-07 12:50:28 +03:00
"jest-offline": "^1.0.1",
2022-10-26 04:41:49 +03:00
"langs": "^2.0.0",
2025-01-15 14:14:21 +03:00
"libxml2-wasm": "^0.5.0",
2021-10-01 21:37:07 +03:00
"lodash": "^4.17.21",
"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",
2025-01-13 19:51:33 +03:00
"pako": "^2.1.0",
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",
2025-01-15 14:56:46 +03:00
"run-script-os": "^1.1.6",
2024-12-15 07:25:39 +03:00
"serve": "^14.2.4",
2022-02-02 06:08:01 +03:00
"signale": "^1.4.0",
"skip-postinstall": "^1.0.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",
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"
2021-03-10 17:37:12 +03:00
}
}