chore: use vite+ (#32297)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
828f4ab2f2
commit
d07a0741ec
55 changed files with 2176 additions and 2932 deletions
46
package.json
46
package.json
|
|
@ -3,17 +3,17 @@
|
|||
"description": "evcc UI",
|
||||
"author": "evcc-io",
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "cross-env TZ=Europe/Berlin NODE_OPTIONS=--no-experimental-webstorage vitest",
|
||||
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:tsc && npm run lint:i18n",
|
||||
"lint:prettier": "prettier assets tests **/*.{yaml,sh} i18n/*.json --write",
|
||||
"lint:eslint": "eslint --fix --max-warnings=0",
|
||||
"build": "vp build",
|
||||
"test": "cross-env TZ=Europe/Berlin NODE_OPTIONS=--no-experimental-webstorage vp test",
|
||||
"lint": "vp run lint:format && vp run lint:lint && vp run lint:tsc && vp run lint:i18n",
|
||||
"lint:format": "vp fmt assets tests **/*.{yaml,sh} i18n/*.json --write",
|
||||
"lint:lint": "vp lint --fix --max-warnings=0",
|
||||
"lint:tsc": "vue-tsc --noEmit",
|
||||
"lint:i18n": "tsx i18n/check.ts",
|
||||
"dev": "vite",
|
||||
"playwright": "playwright test --ui",
|
||||
"dev": "vp dev",
|
||||
"playwright": "playwright install && playwright test --ui",
|
||||
"playwright:ci": "cross-env CI=true playwright test",
|
||||
"simulator": "vite tests/simulator",
|
||||
"simulator": "vp dev tests/simulator",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"license": "license-compliance --production --report detailed --allow \"MIT;Apache-2.0;ISC;BSD-2-Clause;BSD-3-Clause;0BSD\""
|
||||
},
|
||||
|
|
@ -51,11 +51,15 @@
|
|||
"npm": ">=10.0.0",
|
||||
"node": ">=26.0.0"
|
||||
},
|
||||
"devEngines": {
|
||||
"packageManager": {
|
||||
"name": "npm",
|
||||
"version": ">=10.0.0"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": "github:evcc-io/evcc",
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.6",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@jest/types": "^30.4.1",
|
||||
"@playwright/test": "^1.62.0",
|
||||
"@storybook/vue3": "^10.4.4",
|
||||
|
|
@ -71,40 +75,34 @@
|
|||
"@vitejs/plugin-legacy": "^8.2.2",
|
||||
"@vitejs/plugin-vue": "^6.0.8",
|
||||
"@vue/compiler-sfc": "^3.5.38",
|
||||
"@vue/eslint-config-prettier": "^10.2.0",
|
||||
"@vue/eslint-config-typescript": "^14.9.0",
|
||||
"@vue/test-utils": "^2.4.11",
|
||||
"@vue/tsconfig": "^0.9.1",
|
||||
"body-parser": "^2.3.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"eslint-plugin-promise": "^7.3.0",
|
||||
"eslint-plugin-vue": "^10.10.0",
|
||||
"globals": "^17.8.0",
|
||||
"happy-dom": "^20.11.1",
|
||||
"jiti": "^2.7.0",
|
||||
"kill-port": "^2.0.1",
|
||||
"license-compliance": "^3.0.1",
|
||||
"mqtt": "^5.15.2",
|
||||
"prettier": "^3.9.6",
|
||||
"prettier-plugin-sh": "^0.18.1",
|
||||
"prettier-plugin-sort-json": "^4.2.0",
|
||||
"rollup-plugin-visualizer": "^7.0.1",
|
||||
"storybook": "^10.5.5",
|
||||
"terser": "^5.49.0",
|
||||
"tsx": "^4.23.1",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint-language-service": "^5.0.5",
|
||||
"vite": "^8.1.5",
|
||||
"vitest": "^4.1.10",
|
||||
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.6",
|
||||
"vitest": "4.1.10",
|
||||
"vue-eslint-parser": "^10.4.1",
|
||||
"vue-hot-reload-api": "^2.3.4",
|
||||
"vue-tsc": "^3.3.8",
|
||||
"wait-on": "^9.1.0",
|
||||
"ws": "^8.21.1"
|
||||
"ws": "^8.21.1",
|
||||
"vite-plus": "0.2.6"
|
||||
},
|
||||
"overrides": {
|
||||
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.6",
|
||||
"vitest": "4.1.10"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue