Apply dependencies update
[e-mobility-charging-stations-simulator.git] / package.json
index 3f10b229a04636314f3502c25cd1503c54bca10b..7e8be2d5cc9469a25cccf1c48923410724ed2959 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "charging-stations-simulator",
-  "version": "1.1.51",
+  "version": "1.1.56",
   "engines": {
     "node": "16.x.x",
     "npm": "8.x.x"
@@ -27,7 +27,7 @@
   ],
   "main": "./dist/start.js",
   "lint-staged": {
-    "*.{js,ts}": [
+    "src/**/*.{js,ts}": [
       "prettier --write",
       "eslint --cache --fix"
     ]
     "useTsNode": true
   },
   "scripts": {
-    "prepare": "husky install",
+    "prepare": "node prepare.js",
     "prestart": "npm run build",
     "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
+    "start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/httpd/start.js",
     "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
     "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
     "start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
     "build": "npm run rollup",
     "build:dev": "npm run rollup -- --environment BUILD:development",
     "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
-    "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
-    "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
+    "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
+    "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
     "format": "prettier --write .",
     "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
     "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
     "coverage": "nyc report --reporter=lcov",
     "coverage:html": "nyc report --reporter=html",
     "clinic:clean": "clinic clean",
-    "npm-check": "npm-check",
+    "npm-check": "npx npm-check",
     "robohydra": "robohydra test/robohydra/config.json",
     "git:sinit": "git submodule update --init --recursive --force",
     "git:sdiff": "git diff && git submodule foreach 'git diff'",
     "@mikro-orm/sqlite": "^4.5.10",
     "basic-ftp": "^4.6.6",
     "chalk": "^4.1.2",
-    "mongodb": "^4.4.1",
+    "express": "^4.17.3",
+    "mongodb": "^4.5.0",
     "poolifier": "^2.2.0",
     "proper-lockfile": "^4.1.2",
     "source-map-support": "^0.5.21",
     "tar": "^6.1.11",
     "tslib": "^2.3.1",
     "uuid": "^8.3.2",
-    "winston": "^3.6.0",
+    "winston": "^3.7.2",
     "winston-daily-rotate-file": "^4.6.1",
     "ws": "^8.5.0"
   },
   "optionalDependencies": {
     "bufferutil": "^4.0.6",
-    "utf-8-validate": "^5.0.8"
+    "utf-8-validate": "^5.0.9"
   },
   "devDependencies": {
     "@istanbuljs/nyc-config-typescript": "^1.0.2",
     "@mikro-orm/cli": "^4.5.10",
     "@rollup/plugin-json": "^4.1.0",
+    "@types/express": "^4.17.13",
     "@types/mocha": "^9.1.0",
     "@types/mochawesome": "^6.2.1",
-    "@types/node": "^16.11.26",
+    "@types/node": "^16.11.27",
     "@types/proper-lockfile": "^4.1.2",
     "@types/tar": "^6.1.1",
     "@types/uuid": "^8.3.4",
-    "@types/ws": "^8.5.2",
-    "@typescript-eslint/eslint-plugin": "^5.13.0",
-    "@typescript-eslint/parser": "^5.13.0",
+    "@types/ws": "^8.5.3",
+    "@typescript-eslint/eslint-plugin": "^5.19.0",
+    "@typescript-eslint/parser": "^5.19.0",
     "auto-changelog": "^2.4.0",
     "clinic": "^11.1.0",
     "cross-env": "^7.0.3",
-    "eslint": "^8.10.0",
+    "eslint": "^8.13.0",
     "eslint-config-prettier": "^8.5.0",
-    "eslint-plugin-import": "^2.25.4",
-    "eslint-plugin-jsdoc": "^37.9.6",
+    "eslint-plugin-import": "^2.26.0",
+    "eslint-plugin-jsdoc": "^39.2.1",
     "eslint-plugin-node": "^11.1.0",
     "eslint-plugin-prettier": "^4.0.0",
     "expect": "^27.5.1",
     "husky": "^7.0.4",
-    "lint-staged": "^12.3.5",
-    "mocha": "^9.2.1",
-    "mochawesome": "^7.1.1",
-    "npm-check": "^5.9.2",
+    "lint-staged": "^12.3.7",
+    "mocha": "^9.2.2",
+    "mochawesome": "^7.1.3",
     "nyc": "^15.1.0",
-    "prettier": "^2.5.1",
-    "release-it": "^14.12.5",
+    "prettier": "^2.6.2",
+    "release-it": "^14.14.2",
     "robohydra": "^0.6.9",
-    "rollup": "^2.69.1",
+    "rollup": "^2.70.1",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-copy": "^3.4.0",
     "rollup-plugin-delete": "^2.0.0",
     "rollup-plugin-istanbul": "^3.0.0",
     "rollup-plugin-terser": "^7.0.2",
     "rollup-plugin-ts": "^2.0.5",
-    "ts-node": "^10.6.0",
-    "typescript": "^4.6.2"
+    "ts-node": "^10.7.0",
+    "typescript": "^4.6.3"
   }
 }