build(deps): apply updates
[e-mobility-charging-stations-simulator.git] / ui / web / package.json
index 1eb872f031368371fb0e7833f3c8c43d413fe8fe..f57c3a211293056601287fad6e9b97b8305f17c9 100644 (file)
@@ -3,53 +3,58 @@
   "version": "0.1.1",
   "readme": "README.md",
   "engines": {
-    "node": ">=16.9.0"
+    "node": ">=16.9.0",
+    "pnpm": ">=8.6.0"
+  },
+  "volta": {
+    "node": "20.2.0",
+    "pnpm": "8.6.1"
   },
   "scripts": {
-    "preinstall": "npx only-allow pnpm",
-    "start": "pnpm run build && node start.js",
-    "serve": "vue-cli-service serve",
-    "build": "vue-cli-service build",
+    "preinstall": "npx --yes only-allow pnpm",
+    "start": "pnpm build && node start.js",
+    "dev": "vite",
+    "serve": "vite preview",
+    "build": "vite build",
     "clean:dist": "npx rimraf dist",
     "clean:node_modules": "npx rimraf node_modules",
-    "lint": "vue-cli-service lint",
-    "lint:fix": "vue-cli-service lint --fix",
-    "test": "vue-cli-service test:unit"
-  },
-  "overrides": {
-    "cacheable-request": "^10.2.7",
-    "got": "^11.8.5"
+    "lint": "cross-env TIMING=1 eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
+    "lint:fix": "cross-env TIMING=1 eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
+    "format": "prettier --cache --write .",
+    "test": "vitest",
+    "coverage": "vitest run --coverage"
   },
   "dependencies": {
-    "core-js": "^3.30.1",
     "finalhandler": "^1.2.0",
     "serve-static": "^1.15.0",
-    "vue": "^3.2.47",
-    "vue-class-component": "8.0.0-rc.1",
-    "vue-router": "^4.1.6"
+    "vue": "^3.3.4",
+    "vue-router": "^4.2.2"
   },
   "devDependencies": {
-    "@types/chai": "^4.3.4",
-    "@types/mocha": "^10.0.1",
-    "@types/node": "^18.15.11",
-    "@typescript-eslint/eslint-plugin": "^5.58.0",
-    "@typescript-eslint/parser": "^5.58.0",
-    "@vue/cli": "~5.0.8",
-    "@vue/cli-plugin-babel": "~5.0.8",
-    "@vue/cli-plugin-eslint": "~5.0.8",
-    "@vue/cli-plugin-router": "~5.0.8",
-    "@vue/cli-plugin-typescript": "~5.0.8",
-    "@vue/cli-plugin-unit-mocha": "~5.0.8",
-    "@vue/cli-service": "~5.0.8",
+    "@tsconfig/node20": "^1.0.1",
+    "@types/jsdom": "^21.1.1",
+    "@types/node": "^20.2.5",
+    "@typescript-eslint/eslint-plugin": "^5.59.9",
+    "@typescript-eslint/parser": "^5.59.9",
+    "@vitejs/plugin-vue": "^4.2.3",
+    "@vitejs/plugin-vue-jsx": "^3.0.1",
+    "@vitest/coverage-c8": "^0.32.0",
     "@vue/eslint-config-prettier": "^7.1.0",
-    "@vue/eslint-config-typescript": "^11.0.2",
+    "@vue/eslint-config-typescript": "^11.0.3",
     "@vue/test-utils": "^2.3.2",
-    "@vue/tsconfig": "^0.1.3",
-    "chai": "^4.3.7",
-    "eslint": "^8.38.0",
-    "eslint-plugin-vue": "^9.10.0",
-    "prettier": "^2.8.7",
-    "typescript": "~4.9.5"
+    "@vue/tsconfig": "^0.4.0",
+    "cross-env": "^7.0.3",
+    "eslint": "^8.42.0",
+    "eslint-define-config": "^1.20.0",
+    "eslint-import-resolver-typescript": "^3.5.5",
+    "eslint-plugin-import": "^2.27.5",
+    "eslint-plugin-vue": "^9.14.1",
+    "jsdom": "^22.1.0",
+    "prettier": "^2.8.8",
+    "rimraf": "^5.0.1",
+    "typescript": "~5.1.3",
+    "vite": "^4.3.9",
+    "vitest": "^0.32.0"
   },
   "_id": "webui@0.1.1"
 }