From 93af3fe9f9da216cf90e6873d51a056a5b9a51c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 7 Sep 2022 23:10:00 +0200 Subject: [PATCH] Check build requirements before all build types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4ba30aae..b1088dfa 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "scripts": { "prepare": "node prepare.js", "build-requirements": "node build-requirements.js", - "prestart": "npm run build-requirements && npm run build", + "prestart": "npm run build", "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs", "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs", @@ -59,7 +59,7 @@ "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs", "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.cjs", "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.cjs", - "rollup": "rollup --config", + "rollup": "npm run build-requirements && rollup --config", "build": "npm run rollup", "build:dev": "npm run rollup -- --environment BUILD:development", "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch", -- 2.34.1