Make the build app self contained.
[e-mobility-charging-stations-simulator.git] / package.json
index 5812d74a385f189ebe0df12e3ac9a1bc2c0c8238..b4fe270f9fbd3a955d5124a420a2f3d2a459d493 100644 (file)
   "main": "dist/start.js",
   "scripts": {
     "prestart": "npm run build",
-    "start": "node -r source-map-support/register dist/start.js",
-    "start:dev": "ts-node-dev -- src/start.ts",
-    "start:dev:debug": "ts-node-dev --inspect -- src/start.ts",
-    "start:debug": "node -r source-map-support/register --inspect dist/start.js",
-    "start:prof": "node -r source-map-support/register --prof dist/start.js",
-    "start:doctorprof": "clinic doctor -- node -r source-map-support/register dist/start.js",
-    "start:flameprof": "clinic flame -- node -r source-map-support/register dist/start.js",
-    "start:bubbleprof": "clinic bubbleprof -- node -r source-map-support/register dist/start.js",
+    "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
+    "start:debug": "cross-env NODE_ENV=production 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",
     "grunt": "grunt",
-    "build": "npm run build:prod",
+    "build": "npm run grunt",
     "build:mta": "mbt build",
-    "build:prod": "npm run grunt",
-    "build:dev": "npm run grunt -- ts:dev",
-    "build:clean": "rimraf ./dist",
+    "build:watch": "npm run grunt -- ts:buildWatch",
     "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
     "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
     "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
     "utf-8-validate": "^5.0.4"
   },
   "devDependencies": {
-    "@types/node": "^14.14.25",
+    "@types/node": "^14.14.27",
     "@types/uuid": "^8.3.0",
     "@types/ws": "^7.4.0",
     "@typescript-eslint/eslint-plugin": "^4.15.0",
     "@typescript-eslint/parser": "^4.15.0",
     "clinic": "^8.0.1",
     "cross-env": "^7.0.3",
-    "eslint": "^7.19.0",
+    "eslint": "^7.20.0",
     "grunt": "^1.3.0",
+    "grunt-contrib-clean": "^2.0.0",
+    "grunt-contrib-copy": "^1.0.0",
+    "grunt-mkdir": "^1.1.0",
     "grunt-ts": "^6.0.0-beta.22",
     "mbt": "^1.1.0",
     "npm-check": "^5.9.2",
-    "rimraf": "^3.0.2",
-    "ts-node-dev": "^1.1.1",
     "typescript": "^4.1.5"
   }
 }