2021-03-10 17:37:12 +03:00
|
|
|
{
|
|
|
|
|
"name": "epg",
|
2021-03-31 18:01:21 +03:00
|
|
|
"scripts": {
|
2022-02-26 23:21:44 +03:00
|
|
|
"channels:validate": "node scripts/commands/channels/validate.js",
|
|
|
|
|
"channels:lint": "node scripts/commands/channels/lint.js",
|
2022-02-27 16:57:43 +03:00
|
|
|
"channels:parse": "node scripts/commands/channels/parse.js",
|
2022-03-04 00:41:37 +03:00
|
|
|
"channels:editor": "node scripts/commands/channels/editor.js",
|
2022-10-26 04:41:49 +03:00
|
|
|
"api:load": "./scripts/commands/api/load.sh",
|
2022-06-17 20:00:40 +03:00
|
|
|
"lint": "npx eslint ./scripts/**/*.js",
|
2022-05-10 19:55:41 +03:00
|
|
|
"test": "TZ=Pacific/Nauru npx jest --runInBand",
|
2022-01-20 23:21:17 +03:00
|
|
|
"test:commands": "npx jest --runInBand -- commands",
|
2022-05-10 19:55:41 +03:00
|
|
|
"test:sites": "TZ=Pacific/Nauru npx jest --runInBand -- sites",
|
2023-05-15 19:20:31 +03:00
|
|
|
"check": "npm run api:load && npm run channels:lint sites/**/*.js && npm run channels:validate sites/**/*.xml",
|
2023-09-19 05:34:09 +03:00
|
|
|
"grab": "npm run api:load && node scripts/commands/epg/grab.js",
|
2023-05-15 19:20:31 +03:00
|
|
|
"serve": "npx serve"
|
2021-03-31 18:01:21 +03:00
|
|
|
},
|
2021-03-10 17:37:12 +03:00
|
|
|
"private": true,
|
|
|
|
|
"author": "Arhey",
|
|
|
|
|
"license": "MIT",
|
2021-10-24 10:43:01 +03:00
|
|
|
"jest": {
|
2023-05-21 21:22:02 +03:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
|
"<rootDir>/.jenkins/"
|
2023-05-15 19:20:31 +03:00
|
|
|
],
|
2022-03-15 15:26:04 +03:00
|
|
|
"testRegex": "(sites|tests)/(.*?/)?.*test.js$",
|
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
|
"@alex_neo/jest-expect-message"
|
|
|
|
|
]
|
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",
|
2022-10-26 04:41:49 +03:00
|
|
|
"@octokit/core": "^4.1.0",
|
2021-09-03 22:57:15 +03:00
|
|
|
"axios": "^0.21.1",
|
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",
|
2021-10-06 04:56:45 +03:00
|
|
|
"commander": "^8.2.0",
|
2023-07-19 22:31:24 +03:00
|
|
|
"consola": "^3.2.3",
|
|
|
|
|
"cron": "^2.3.1",
|
2021-11-08 11:01:28 +03:00
|
|
|
"csv-parser": "^3.0.0",
|
2023-05-28 21:01:36 +03:00
|
|
|
"dayjs": "^1.11.7",
|
2023-07-09 17:04:30 +03:00
|
|
|
"epg-grabber": "^0.32.0",
|
2022-11-20 17:35:08 +03:00
|
|
|
"epg-parser": "^0.2.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",
|
2022-03-04 00:41:37 +03:00
|
|
|
"inquirer": "^8.2.0",
|
2023-07-03 01:04:58 +03:00
|
|
|
"jest": "^29.5.0",
|
2022-10-26 04:41:49 +03:00
|
|
|
"langs": "^2.0.0",
|
2023-07-03 01:04:58 +03:00
|
|
|
"libxmljs2": "^0.32.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",
|
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",
|
2023-05-15 19:20:31 +03:00
|
|
|
"serve": "^14.2.0",
|
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",
|
2022-03-04 00:41:37 +03:00
|
|
|
"transliteration": "^2.2.0",
|
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"
|
2022-06-17 20:00:40 +03:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"eslint": "^8.17.0"
|
2021-03-10 17:37:12 +03:00
|
|
|
}
|
|
|
|
|
}
|