chore: Fix lint and test commands on Windows (#21640)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
b89be8fd8b
commit
e89e7fcc7f
2 changed files with 23 additions and 2 deletions
20
package-lock.json
generated
20
package-lock.json
generated
|
|
@ -69,6 +69,7 @@
|
|||
"@storybook/test": "^8.6.4",
|
||||
"@storybook/vue3": "^8.6.4",
|
||||
"@storybook/vue3-vite": "^8.6.4",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint-plugin-storybook": "^0.12.0",
|
||||
"prettier-plugin-sort-json": "^4.1.1",
|
||||
"storybook": "^8.6.4"
|
||||
|
|
@ -5250,6 +5251,25 @@
|
|||
"integrity": "sha512-UtRoPH6udaru/MOhhZhI/GZHJKAyAxuKItD2Tr7AbrqrOPBX/uejWBBJt8q86169AMqKkE9h9/24kFWbUk/Bag==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cross-env": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
},
|
||||
"bin": {
|
||||
"cross-env": "src/bin/cross-env.js",
|
||||
"cross-env-shell": "src/bin/cross-env-shell.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.14",
|
||||
"npm": ">=6",
|
||||
"yarn": ">=1"
|
||||
}
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
"author": "evcc-io",
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "TZ=Europe/Berlin vitest",
|
||||
"lint": "prettier assets './**/*.{yml,yaml,sh}' './i18n/*.json' --write && eslint assets/**/*.js assets/**/*.vue --fix --max-warnings=0 && npm run tsc",
|
||||
"test": "cross-env TZ=Europe/Berlin vitest",
|
||||
"lint": "prettier assets ./**/*.{yml,yaml,sh} ./i18n/*.json --write && eslint assets/**/*.js assets/**/*.vue --fix --max-warnings=0 && npm run tsc",
|
||||
"tsc": "vue-tsc --noEmit",
|
||||
"dev": "vite",
|
||||
"playwright": "playwright test --ui",
|
||||
|
|
@ -88,6 +88,7 @@
|
|||
"@storybook/test": "^8.6.4",
|
||||
"@storybook/vue3": "^8.6.4",
|
||||
"@storybook/vue3-vite": "^8.6.4",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint-plugin-storybook": "^0.12.0",
|
||||
"prettier-plugin-sort-json": "^4.1.1",
|
||||
"storybook": "^8.6.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue