X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fpackage.json;h=ed52a23bb35c54cf8439a7c7cfda876b68fa6211;hb=a5f71620495481e50df343027417b04b60a98a6d;hp=a211ae8a48e8b2a92ac3e629bffbd1aa238590db;hpb=d509fd24247299013f4f25f190d5ba9beb120b48;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/package.json b/ui/web/package.json index a211ae8a..425ffae6 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,61 +1,65 @@ { + "$schema": "https://json.schemastore.org/package", "name": "webui", - "version": "0.1.1", + "version": "0.3.0", "readme": "README.md", "engines": { - "node": ">=16.9.0", - "pnpm": ">= 8.0.0" + "node": ">=18.0.0", + "pnpm": ">=9.0.0" }, "volta": { - "node": "20.0.0" + "node": "20.12.2", + "pnpm": "9.0.3" }, + "packageManager": "pnpm@9.0.3", + "type": "module", "scripts": { - "preinstall": "npx --yes only-allow pnpm", + "build": "vite build", + "preview": "pnpm build && vite preview", "start": "pnpm build && node start.js", - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "dev": "vite", "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.4.23", + "vue-router": "^4.3.2", + "vue-toast-notification": "^3.1.2" }, "devDependencies": { - "@tsconfig/node20": "^1.0.0", - "@types/chai": "^4.3.4", - "@types/mocha": "^10.0.1", - "@types/node": "^18.15.13", - "@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.2.0", - "chai": "^4.3.7", - "eslint": "^8.39.0", - "eslint-plugin-vue": "^9.11.0", - "prettier": "^2.8.7", - "rimraf": "^5.0.0", - "typescript": "~5.0.4" + "@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" }