|
|
|
|
@ -11,13 +11,13 @@
|
|
|
|
|
"preview": "vite preview",
|
|
|
|
|
"check:svelte": "svelte-check --no-tsconfig --fail-on-warnings",
|
|
|
|
|
"check:typescript": "tsc --noEmit",
|
|
|
|
|
"check:watch": "npm run check:svelte -- --watch",
|
|
|
|
|
"check:code": "npm run format && npm run lint:p && npm run check:svelte && npm run check:typescript",
|
|
|
|
|
"check:all": "npm run check:code && npm run test:cov",
|
|
|
|
|
"check:watch": "pnpm run check:svelte --watch",
|
|
|
|
|
"check:code": "pnpm run format && pnpm run lint && pnpm run check:svelte && pnpm run check:typescript",
|
|
|
|
|
"check:all": "pnpm run check:code && pnpm run test:cov",
|
|
|
|
|
"lint": "eslint . --max-warnings 0 --concurrency 4",
|
|
|
|
|
"lint:fix": "npm run lint -- --fix",
|
|
|
|
|
"lint:fix": "pnpm run lint --fix",
|
|
|
|
|
"format": "prettier --check .",
|
|
|
|
|
"format:fix": "prettier --write . && npm run format:i18n",
|
|
|
|
|
"format:fix": "prettier --write . && pnpm run format:i18n",
|
|
|
|
|
"format:i18n": "pnpm dlx sort-json ../i18n/*.json",
|
|
|
|
|
"test": "vitest --run",
|
|
|
|
|
"test:cov": "vitest --coverage",
|
|
|
|
|
|