From 54d482269f933765f6f7a7a3d98ccca8b4d6ab4f Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 19 Sep 2023 06:14:59 +0300 Subject: [PATCH] Move `api:load` to `postinstall` --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6ae78ad5..4c3aca8c 100644 --- a/package.json +++ b/package.json @@ -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",