Skip to content

Commit

Permalink
Cleanup npm scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
jerome-benoit committed Oct 29, 2022
1 parent 39efd40 commit 4544f16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .vscode/launch.json
Expand Up @@ -9,7 +9,6 @@
"request": "launch",
"name": "Debug Simulator via npm",
"cwd": "${workspaceFolder}",
"preLaunchTask": "npm: build",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "start:debug"],
"skipFiles": ["<node_internals>/**"],
Expand All @@ -20,7 +19,6 @@
"request": "launch",
"name": "Debug Simulator Development Build via npm",
"cwd": "${workspaceFolder}",
"preLaunchTask": "npm: build:dev",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "start:dev:debug"],
"skipFiles": ["<node_internals>/**"],
Expand Down
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -41,10 +41,9 @@
},
"scripts": {
"prepare": "node prepare.js",
"prestart": "npm run build",
"build-requirements": "node build-requirements.js",
"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": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs",
"start:debug": "npm run build && 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",
Expand Down

0 comments on commit 4544f16

Please sign in to comment.