build(simulator): use node.js builtin source maps support
[e-mobility-charging-stations-simulator.git] / package.json
index b5e79c96292de518b7c7c43f7bb2f8a75e83ce83..42d00538fccca76ab241e3f1e4aaed938449ffbf 100644 (file)
     "preinstall": "node skip-preinstall.js || npx --yes only-allow pnpm",
     "prepare": "node prepare.js",
     "build-requirements": "node --no-warnings build-requirements.js",
-    "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
-    "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
-    "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
-    "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
-    "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
-    "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
-    "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
-    "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
+    "start": "pnpm build && cross-env NODE_ENV=production node --enable-source-maps dist/start.js",
+    "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps dist/start.js",
+    "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node --enable-source-maps --inspect dist/start.js",
+    "start:prof": "cross-env NODE_ENV=production node --enable-source-maps --prof dist/start.js",
+    "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node --enable-source-maps dist/start.js",
+    "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node --enable-source-maps dist/start.js",
+    "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node --enable-source-maps dist/start.js",
+    "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",
     "mnemonist": "^0.39.5",
     "mongodb": "^6.2.0",
     "poolifier": "^3.0.5",
-    "source-map-support": "^0.5.21",
     "tar": "^6.2.0",
     "tslib": "^2.6.2",
     "winston": "^3.11.0",