build: bump volta pnpm version
[e-mobility-charging-stations-simulator.git] / ui / web / package.json
index 905030efd9836f5f62f171a14435fffa99988218..425ffae64f63cac4a5e4d65cfc5295a6b1f03b9b 100644 (file)
@@ -1,49 +1,65 @@
 {
+  "$schema": "https://json.schemastore.org/package",
   "name": "webui",
-  "version": "0.1.1",
+  "version": "0.3.0",
   "readme": "README.md",
-  "scripts": {
-    "start": "npm run build && node start.js",
-    "serve": "vue-cli-service serve",
-    "build": "vue-cli-service build",
-    "lint": "vue-cli-service lint",
-    "lint:fix": "vue-cli-service lint --fix",
-    "test": "vue-cli-service test:unit"
+  "engines": {
+    "node": ">=18.0.0",
+    "pnpm": ">=9.0.0"
+  },
+  "volta": {
+    "node": "20.12.2",
+    "pnpm": "9.0.3"
   },
-  "overrides": {
-    "cacheable-request": "^10.2.7",
-    "got": "^11.8.5"
+  "packageManager": "pnpm@9.0.3",
+  "type": "module",
+  "scripts": {
+    "build": "vite build",
+    "preview": "pnpm build && vite preview",
+    "start": "pnpm build && node start.js",
+    "dev": "vite",
+    "clean:dist": "npx rimraf dist",
+    "clean:node_modules": "npx rimraf node_modules",
+    "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.29.0",
     "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.4.23",
+    "vue-router": "^4.3.2",
+    "vue-toast-notification": "^3.1.2"
   },
   "devDependencies": {
-    "@types/chai": "^4.3.4",
-    "@types/mocha": "^10.0.1",
-    "@types/node": "^18.14.2",
-    "@typescript-eslint/eslint-plugin": "^5.53.0",
-    "@typescript-eslint/parser": "^5.53.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",
-    "@vue/eslint-config-prettier": "^7.1.0",
-    "@vue/eslint-config-typescript": "^11.0.2",
-    "@vue/test-utils": "^2.3.0",
-    "@vue/tsconfig": "^0.1.3",
-    "chai": "^4.3.7",
-    "eslint": "^8.35.0",
-    "eslint-plugin-vue": "^9.9.0",
-    "prettier": "^2.8.4",
-    "typescript": "~4.9.5"
+    "@rushstack/eslint-patch": "^1.10.2",
+    "@tsconfig/node20": "^20.1.4",
+    "@types/jsdom": "^21.1.6",
+    "@types/node": "^20.12.7",
+    "@typescript-eslint/eslint-plugin": "^7.7.0",
+    "@typescript-eslint/parser": "^7.7.0",
+    "@vitejs/plugin-vue": "^5.0.4",
+    "@vitejs/plugin-vue-jsx": "^3.1.0",
+    "@vitest/coverage-v8": "^1.5.0",
+    "@vue/eslint-config-prettier": "^9.0.0",
+    "@vue/eslint-config-typescript": "^13.0.0",
+    "@vue/test-utils": "^2.4.5",
+    "@vue/tsconfig": "^0.5.1",
+    "cross-env": "^7.0.3",
+    "eslint": "^8.57.0",
+    "eslint-define-config": "^2.1.0",
+    "eslint-import-resolver-typescript": "^3.6.1",
+    "eslint-plugin-import": "^2.29.1",
+    "eslint-plugin-simple-import-sort": "^12.1.0",
+    "eslint-plugin-vue": "^9.25.0",
+    "jsdom": "^24.0.0",
+    "prettier": "^3.2.5",
+    "rimraf": "^5.0.5",
+    "typescript": "~5.4.5",
+    "vite": "^5.2.9",
+    "vitest": "^1.5.0"
   },
-  "_id": "webui@0.1.1"
+  "_id": "webui@0.3.0"
 }