X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fpackage.json;h=1a5dca93df0880c0a8da1d60a40749f3ac5cc6ba;hb=f95d24fffe0c2c31b1965f3cda9a13239c8bbde8;hp=439584e897008c7cf1ede56dc306a2e8d5c6d4a8;hpb=a3269517dde255ad2d240323fbe1624a9769a93c;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/package.json b/ui/web/package.json index 439584e8..1a5dca93 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,61 +1,66 @@ { + "$schema": "https://json.schemastore.org/package", "name": "webui", "version": "0.1.1", "readme": "README.md", "engines": { "node": ">=16.9.0", - "pnpm": ">= 8.0.0" + "pnpm": ">=8.6.0" }, "volta": { - "node": "20.0.0" + "node": "20.8.1", + "pnpm": "8.9.2" + }, + "pnpm": { + "overrides": { + "semver": "^7.5.3" + } }, "scripts": { "preinstall": "npx --yes only-allow pnpm", "start": "pnpm build && node start.js", - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "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.6", + "vue-router": "^4.2.5" }, "devDependencies": { - "@tsconfig/node20": "^1.0.0", - "@types/chai": "^4.3.4", - "@types/mocha": "^10.0.1", - "@types/node": "^18.16.0", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.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.2", - "@vue/tsconfig": "^0.3.1", - "chai": "^4.3.7", - "eslint": "^8.39.0", - "eslint-plugin-vue": "^9.11.0", - "prettier": "^2.8.8", - "rimraf": "^5.0.0", - "typescript": "~5.0.4" + "@tsconfig/node20": "^20.1.2", + "@types/jsdom": "^21.1.4", + "@types/node": "^20.8.7", + "@typescript-eslint/eslint-plugin": "^6.9.0", + "@typescript-eslint/parser": "^6.8.0", + "@vitejs/plugin-vue": "^4.4.0", + "@vitejs/plugin-vue-jsx": "^3.0.2", + "@vitest/coverage-v8": "^0.34.6", + "@vue/eslint-config-prettier": "^8.0.0", + "@vue/eslint-config-typescript": "^12.0.0", + "@vue/test-utils": "^2.4.1", + "@vue/tsconfig": "^0.4.0", + "cross-env": "^7.0.3", + "eslint": "^8.52.0", + "eslint-define-config": "^1.24.1", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.0", + "eslint-plugin-vue": "^9.18.0", + "jsdom": "^22.1.0", + "prettier": "^3.0.3", + "rimraf": "^5.0.5", + "typescript": "~5.2.2", + "vite": "^4.5.0", + "vitest": "^0.34.6" }, "_id": "webui@0.1.1" }