Update package.json

This commit is contained in:
freearhey 2023-07-06 02:29:10 +03:00
parent 75d96e4337
commit 5651db23cb

View file

@ -5,13 +5,14 @@
"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",
"site:grab": "node scripts/commands/site/grab.js",
"api:load": "./scripts/commands/api/load.sh", "api:load": "./scripts/commands/api/load.sh",
"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",
"check": "npm run api:load && npm run channels:lint sites/**/*.js && npm run channels:validate sites/**/*.xml", "check": "npm run api:load && npm run channels:lint sites/**/*.js && npm run channels:validate sites/**/*.xml",
"grab": "cross-var epg-grabber --config=sites/$SITE/$SITE.config.js --channels=sites/$SITE/$SITE.channels.xml --output=guides/{lang}/{site}.xml", "grab": "npm run site:grab",
"serve": "npx serve" "serve": "npx serve"
}, },
"private": true, "private": true,