Merge branch 'master' of github.com:LucasBrazi06/ev-simulator into rollup
[e-mobility-charging-stations-simulator.git] / package.json
index 82fe268d6f64fc330c53e05125a6c7269ab4257d..21bb99879cf2a250b6b964e2ff34c92fc76210d8 100644 (file)
@@ -2,7 +2,8 @@
   "name": "ev-simulator",
   "version": "1.0.0",
   "engines": {
-    "node": "14.x.x"
+    "node": "14.x.x",
+    "npm": "6.x.x"
   },
   "repository": {
     "type": "git",
     "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",
     "grunt": "grunt",
-    "build": "npm run build:prod",
-    "build:prod": "npm run grunt",
-    "build:dev": "npm run grunt -- ts:dev",
+    "rollup": "rollup --config",
+    "build": "npm run grunt",
+    "build:mta": "mbt build",
     "build:clean": "rimraf ./dist",
     "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}'",
     "tsc": "tsc",
     "test": "echo \"Error: no tests implemented\" && exit 1",
     "clinic:clean": "clinic clean",
     "npm-check": "npm-check",
+    "git:sinit": "git submodule update --init --recursive --force",
     "git:sdiff": "git diff && git submodule foreach 'git diff'",
-    "git:supdate": "git submodule update --remote --merge",
+    "git:supdate": "git submodule update --remote --recursive --merge",
     "git:spush": "git push --recurse-submodules=on-demand"
   },
   "dependencies": {
+    "mongodb": "^3.6.4",
+    "poolifier": "^1.2.1",
     "source-map-support": "^0.5.19",
-    "tslib": "^2.0.3",
+    "tslib": "^2.1.0",
     "uuid": "^8.3.2",
     "winston": "^3.3.3",
     "winston-daily-rotate-file": "^4.5.0",
-    "worker-threads-pool": "^2.0.0",
-    "ws": "^7.4.1"
+    "ws": "^7.4.3"
   },
   "optionalDependencies": {
-    "bufferutil": "^4.0.2",
-    "utf-8-validate": "^5.0.3"
+    "bufferutil": "^4.0.3",
+    "utf-8-validate": "^5.0.4"
   },
   "devDependencies": {
-    "@types/node": "^14.14.14",
+    "@types/node": "^14.14.25",
     "@types/uuid": "^8.3.0",
-    "@types/worker-threads-pool": "^2.0.0",
     "@types/ws": "^7.4.0",
-    "@typescript-eslint/eslint-plugin": "^4.10.0",
-    "@typescript-eslint/parser": "^4.10.0",
+    "@typescript-eslint/eslint-plugin": "^4.15.0",
+    "@typescript-eslint/parser": "^4.15.0",
+    "@wessberg/rollup-plugin-ts": "^1.3.8",
     "clinic": "^8.0.1",
     "cross-env": "^7.0.3",
-    "eslint": "^7.15.0",
+    "eslint": "^7.19.0",
     "grunt": "^1.3.0",
     "grunt-ts": "^6.0.0-beta.22",
+    "mbt": "^1.1.0",
     "npm-check": "^5.9.2",
     "rimraf": "^3.0.2",
+    "rollup": "^2.38.5",
+    "rollup-plugin-delete": "^2.0.0",
     "ts-node-dev": "^1.1.1",
-    "typescript": "^4.1.3"
+    "typescript": "^4.1.5"
   }
 }