From: Jérôme Benoit Date: Fri, 3 Jun 2022 20:31:48 +0000 (+0200) Subject: Make the ESM script a dev one X-Git-Tag: v1.1.61~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=22cfa750e4f96d294fc0c691890aac3e9ed30149;p=e-mobility-charging-stations-simulator.git Make the ESM script a dev one Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 249db993..40cd4769 100644 --- a/package.json +++ b/package.json @@ -46,11 +46,11 @@ "prepare": "node prepare.js", "prestart": "npm run build", "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", - "start:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/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", "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.cjs", + "start:dev:esm": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs", "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.cjs", "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.cjs", "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.cjs",