Update package.json

This commit is contained in:
Aleksandr Statciuk 2023-05-15 19:20:31 +03:00
parent 98eef5b607
commit 7a6c41784a

View file

@ -5,28 +5,22 @@
"channels:lint": "node scripts/commands/channels/lint.js", "channels:lint": "node scripts/commands/channels/lint.js",
"channels:parse": "node scripts/commands/channels/parse.js", "channels:parse": "node scripts/commands/channels/parse.js",
"channels:editor": "node scripts/commands/channels/editor.js", "channels:editor": "node scripts/commands/channels/editor.js",
"queue:create": "node scripts/commands/queue/create.js",
"cluster:load": "node scripts/commands/cluster/load.js",
"db:load": "node scripts/commands/database/load.js",
"programs:save": "node scripts/commands/programs/save.js",
"guides:update": "NODE_OPTIONS=--max-old-space-size=5120 node scripts/commands/guides/update.js",
"api:load": "./scripts/commands/api/load.sh", "api:load": "./scripts/commands/api/load.sh",
"api:update": "node scripts/commands/api/update.js",
"readme:update": "node scripts/commands/readme/update.js",
"lint": "npx eslint ./scripts/**/*.js", "lint": "npx eslint ./scripts/**/*.js",
"test": "TZ=Pacific/Nauru npx jest --runInBand", "test": "TZ=Pacific/Nauru npx jest --runInBand",
"test:commands": "npx jest --runInBand -- commands", "test:commands": "npx jest --runInBand -- commands",
"test:sites": "TZ=Pacific/Nauru npx jest --runInBand -- sites", "test:sites": "TZ=Pacific/Nauru npx jest --runInBand -- sites",
"act:test": "act workflow_dispatch -W .github/workflows/_test.yml", "check": "npm run api:load && npm run channels:lint sites/**/*.js && npm run channels:validate sites/**/*.xml",
"act:check": "act workflow_dispatch -W .github/workflows/_check.yml", "grab": "npx epg-grabber --config=sites/${SITE}/${SITE}.config.js --channels=sites/${SITE}/${SITE}.channels.xml --output=guides/{lang}/{site}.xml",
"act:update-readme": "act workflow_dispatch -W .github/workflows/_update-readme.yml", "serve": "npx serve"
"act:update-status": "act workflow_dispatch -W .github/workflows/_update-status.yml",
"act:update-api": "act workflow_dispatch -W .github/workflows/_update-api.yml"
}, },
"private": true, "private": true,
"author": "Arhey", "author": "Arhey",
"license": "MIT", "license": "MIT",
"jest": { "jest": {
"testPathIgnorePatterns": [
".jenkins"
],
"testRegex": "(sites|tests)/(.*?/)?.*test.js$", "testRegex": "(sites|tests)/(.*?/)?.*test.js$",
"setupFilesAfterEnv": [ "setupFilesAfterEnv": [
"@alex_neo/jest-expect-message" "@alex_neo/jest-expect-message"
@ -41,7 +35,7 @@
"commander": "^8.2.0", "commander": "^8.2.0",
"csv-parser": "^3.0.0", "csv-parser": "^3.0.0",
"dayjs": "^1.10.8", "dayjs": "^1.10.8",
"epg-grabber": "^0.29.7", "epg-grabber": "^0.30.2",
"epg-parser": "^0.2.0", "epg-parser": "^0.2.0",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"fs-extra": "^10.0.1", "fs-extra": "^10.0.1",
@ -59,6 +53,7 @@
"node-gzip": "^1.1.2", "node-gzip": "^1.1.2",
"parse-duration": "^1.0.0", "parse-duration": "^1.0.0",
"pdf-parse": "^1.1.1", "pdf-parse": "^1.1.1",
"serve": "^14.2.0",
"signale": "^1.4.0", "signale": "^1.4.0",
"srcset": "^4.0.0", "srcset": "^4.0.0",
"table2array": "^0.0.2", "table2array": "^0.0.2",