Files
epg/package.json

115 lines
3.7 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",
2025-01-15 14:14:21 +03:00
"lint": "npx eslint \"{scripts,tests,sites}/**/*.{ts,mts,js}\"",
"test": "cross-env TZ=Pacific/Nauru npx jest --runInBand",
"test:site": "cross-env TZ=Pacific/Nauru npx jest --runInBand --testPathPatterns",
"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)"
],
2025-04-02 07:02:15 +03:00
"testTimeout": 10000,
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!parse-duration/.*|@freearhey/core/.*|glob/.*|srcset/.*|balanced-match/.*|minimatch/.*)"
2025-04-02 07:02:15 +03:00
]
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",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.29.0",
"@freearhey/core": "^0.8.2",
2025-04-19 02:03:58 +03:00
"@freearhey/search-js": "^0.1.2",
2025-02-01 00:03:19 +03:00
"@ntlab/sfetch": "^1.2.0",
"@octokit/core": "^7.0.2",
"@octokit/plugin-paginate-rest": "^13.1.0",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@swc/core": "^1.12.5",
"@swc/jest": "^0.2.38",
"@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.18",
"@types/node-cleanup": "^2.1.5",
"@types/numeral": "^2.0.5",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"axios": "^1.10.0",
"axios-cookiejar-support": "^6.0.2",
"chalk": "^5.4.1",
"cheerio": "^1.1.0",
2023-10-02 06:30:39 +03:00
"cli-progress": "^3.12.0",
"commander": "^14.0.0",
"consola": "^3.4.2",
"cross-env": "^7.0.3",
"csv-parser": "^3.2.0",
2023-10-02 06:30:39 +03:00
"cwait": "^1.1.2",
"dayjs": "^1.11.13",
2025-02-01 00:03:19 +03:00
"epg-grabber": "^0.38.0",
2024-12-18 22:06:09 +03:00
"epg-parser": "^0.3.1",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"form-data": "^4.0.3",
"fs-extra": "^11.3.0",
"glob": "^11.0.3",
"globals": "^16.2.0",
2025-01-01 13:03:27 +03:00
"husky": "^9.1.7",
"iconv-lite": "^0.6.3",
"inquirer": "^12.6.3",
"jest": "^30.0.2",
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.6.1",
2021-11-25 00:02:42 +03:00
"mockdate": "^3.0.5",
"nedb-promises": "^6.2.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",
"parse-duration": "^2.1.4",
2021-11-11 19:00:18 +03:00
"pdf-parse": "^1.1.1",
"pm2": "^6.0.8",
2025-01-16 21:32:50 +03:00
"readline": "^1.3.0",
2025-01-03 09:04:04 +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",
2025-01-24 19:59:57 +03:00
"socks-proxy-agent": "^8.0.5",
"srcset": "^5.0.1",
2022-11-26 21:37:24 +03:00
"table2array": "^0.0.2",
"tabletojson": "^4.1.6",
"tough-cookie": "^5.1.2",
"transliteration": "^2.3.5",
"tsx": "^4.20.3",
"unzipit": "^1.4.3",
"wildcard-match": "^5.1.4"
2021-03-10 17:37:12 +03:00
}
}