From b50922fa7939f9fa15f73cbc43c674210bbca397 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 5 Nov 2023 23:14:55 +0100 Subject: [PATCH] build(simulator): add script to build CF source with source maps MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b1861011..7799733e 100644 --- a/package.json +++ b/package.json @@ -66,8 +66,9 @@ "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node --enable-source-maps dist/start.js", "esbuild": "pnpm build-requirements && node bundle.js", "build": "pnpm esbuild", - "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm esbuild", "build:dev": "cross-env BUILD=development pnpm esbuild", + "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build", + "build:cf:dev": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm build:dev", "clean:dist": "npx rimraf dist", "clean:node_modules": "npx rimraf node_modules", "lint": "cross-env TIMING=1 eslint --cache src", -- 2.34.1