From: Jérôme Benoit Date: Sun, 5 Nov 2023 22:14:55 +0000 (+0100) Subject: build(simulator): add script to build CF source with source maps X-Git-Tag: v1.2.24~48 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b50922fa7939f9fa15f73cbc43c674210bbca397;p=e-mobility-charging-stations-simulator.git build(simulator): add script to build CF source with source maps Signed-off-by: Jérôme Benoit --- 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",