diff --git a/package.json b/package.json index 3177ba4..2b4149b 100644 --- a/package.json +++ b/package.json @@ -8,21 +8,22 @@ "node": "^20.19.0 || >=22.12.0" }, "scripts": { - "_all": "run-s build-only lint format:prettier type-check test:unit:DisableWatch", + "_all": "run-s lint format:prettier type-check test:unit:DisableWatch build-only", "dev": "vite --port 4730 --host --strictPort", "build": "run-p type-check \"build-only {@}\" --", "build-only": "vite build", "preview": "vite preview --port 4731 --host --strictPort", "wrangler:dev": "wrangler dev --port 4732", - "format:prettier": "prettier --write src/", + "format:prettier": "prettier --config=.prettierrc.json --cache --write --log-level=warn src/", "type-check": "vue-tsc --build", "lint": "run-s lint:*", "lint:vue-i18n-extract": "vue-i18n-extract report --vueFiles './src/**/*.?(ts|tsx|vue)' --languageFiles './src/locales/**/*.?(json|yml|yaml|js)' --ci", - "lint:stylelint": "stylelint --fix --ignore-path .gitignore \"**/*.{css,less,scss,vue}\"", + "lint:stylelint": "stylelint --config=stylelint.config.mjs --cache --output-file=node_modules/.cache/stylelint/stylelint-report.json --cache-location=node_modules/.cache/stylelint/.stylelintcache --fix --ignore-path=.gitignore '**/*.{css,less,scss,vue}'", "lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore", - "lint:eslint": "eslint . --fix", + "lint:eslint": "eslint . --fix --config=eslint.config.ts --concurrency=auto --env-info --cache --cache-location=node_modules/.cache/eslint/.eslintcache", "test:unit:DisableWatch": "vitest --run", "test:playwright:headless": "HEADLESS=true playwright test --quiet", + "_stylelint-config": "stylelint --config=stylelint.config.mjs --print-config src/styles/scss/global.scss", "postinstall": "wrangler types", "prepare": "husky" },