Move api:load to postinstall

This commit is contained in:
freearhey 2023-09-19 06:14:59 +03:00
parent cb0fed9ef2
commit 54d482269f

View file

@ -11,8 +11,9 @@
"test:commands": "npx jest --runInBand -- commands",
"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",
"grab": "npm run api:load && node scripts/commands/epg/grab.js",
"serve": "npx serve"
"grab": "node scripts/commands/epg/grab.js",
"serve": "npx serve",
"postinstall": "npm run api:load"
},
"private": true,
"author": "Arhey",