X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fpackage.json;h=67769771d3f64565f37989ee7be661173a55bec0;hb=b534060f89e870eec91bfaab84a4ea6fc77ddd53;hp=2ab66b0677a85d70be1aefd1bcf49142930b20be;hpb=01ff4231d1a1640acdf12c0f2819f0c49456b218;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/package.json b/ui/web/package.json index 2ab66b06..d6f451c8 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,15 +1,22 @@ { + "$schema": "https://json.schemastore.org/package", "name": "webui", "version": "0.1.1", "readme": "README.md", "engines": { - "node": ">=16.9.0", - "pnpm": ">= 8.0.0" + "node": ">=18.0.0", + "pnpm": ">=8.6.0" }, "volta": { - "node": "20.0.0", - "pnpm": "8.3.1" + "node": "20.10.0", + "pnpm": "8.14.0" }, + "pnpm": { + "overrides": { + "semver": "^7.5.3" + } + }, + "type": "module", "scripts": { "preinstall": "npx --yes only-allow pnpm", "start": "pnpm build && node start.js", @@ -18,37 +25,43 @@ "build": "vite build", "clean:dist": "npx rimraf dist", "clean:node_modules": "npx rimraf node_modules", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore", - "lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "test": "vitest" + "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": { "finalhandler": "^1.2.0", "serve-static": "^1.15.0", - "vue": "^3.2.47", - "vue-router": "^4.1.6" + "vue": "^3.4.5", + "vue-router": "^4.2.5" }, "devDependencies": { - "@tsconfig/node20": "^1.0.0", - "@types/jsdom": "^21.1.1", - "@types/node": "^18.16.0", - "@typescript-eslint/eslint-plugin": "^5.59.1", - "@typescript-eslint/parser": "^5.59.1", - "@vitejs/plugin-vue": "^4.1.0", - "@vitejs/plugin-vue-jsx": "^3.0.1", - "@vue/eslint-config-prettier": "^7.1.0", - "@vue/eslint-config-typescript": "^11.0.2", - "@vue/test-utils": "^2.3.2", - "@vue/tsconfig": "^0.3.2", - "eslint": "^8.39.0", - "eslint-define-config": "^1.19.0", - "eslint-plugin-vue": "^9.11.0", - "jsdom": "^21.1.1", - "prettier": "^2.8.8", - "rimraf": "^5.0.0", - "typescript": "~5.0.4", - "vite": "^4.3.1", - "vitest": "^0.30.1" + "@tsconfig/node20": "^20.1.2", + "@types/jsdom": "^21.1.6", + "@types/node": "^20.10.6", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "@vitejs/plugin-vue": "^5.0.2", + "@vitejs/plugin-vue-jsx": "^3.1.0", + "@vitest/coverage-v8": "^1.1.1", + "@vue/eslint-config-prettier": "^9.0.0", + "@vue/eslint-config-typescript": "^12.0.0", + "@vue/test-utils": "^2.4.3", + "@vue/tsconfig": "^0.5.1", + "cross-env": "^7.0.3", + "eslint": "^8.56.0", + "eslint-define-config": "^2.1.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-vue": "^9.19.2", + "jsdom": "^23.0.1", + "prettier": "^3.1.1", + "rimraf": "^5.0.5", + "typescript": "~5.3.3", + "vite": "^5.0.10", + "vitest": "^1.1.1" }, "_id": "webui@0.1.1" }