X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fpackage.json;h=220a67942f1cf7ab333773895a56a92d2a464cd9;hb=78ec5d6f7a99376f9dde3a821bab03b6d2d3cfe2;hp=45e9fc8bedec48eb41988c569d25707a0d451a78;hpb=ef1eb91e01918b3e1d55cd553e204c3e5564821e;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/package.json b/ui/web/package.json index 45e9fc8b..220a6794 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,63 +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", - "pnpm": "8.3.1" + "node": "20.5.1", + "pnpm": "8.6.12" + }, + "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.4", + "vue-router": "^4.2.4" }, "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.1", - "@typescript-eslint/parser": "^5.59.1", - "@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.2", - "chai": "^4.3.7", - "eslint": "^8.39.0", - "eslint-define-config": "^1.19.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.2", + "@types/node": "^20.5.3", + "@typescript-eslint/eslint-plugin": "^6.4.1", + "@typescript-eslint/parser": "^6.4.1", + "@vitejs/plugin-vue": "^4.3.3", + "@vitejs/plugin-vue-jsx": "^3.0.2", + "@vitest/coverage-v8": "^0.34.2", + "@vue/eslint-config-prettier": "^8.0.0", + "@vue/eslint-config-typescript": "^11.0.3", + "@vue/test-utils": "^2.4.1", + "@vue/tsconfig": "^0.4.0", + "cross-env": "^7.0.3", + "eslint": "^8.47.0", + "eslint-define-config": "^1.23.0", + "eslint-import-resolver-typescript": "^3.6.0", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-vue": "^9.17.0", + "jsdom": "^22.1.0", + "prettier": "^3.0.2", + "rimraf": "^5.0.1", + "typescript": "~5.1.6", + "vite": "^4.4.9", + "vitest": "^0.34.2" }, "_id": "webui@0.1.1" }