chore: added format and format:check npm commands

This commit is contained in:
2026-04-26 23:25:47 +03:30
parent affda9ccae
commit 4caefd2d8d

View File

@@ -23,6 +23,8 @@
"test": "vitest run", "test": "vitest run",
"test:watch": "vitest", "test:watch": "vitest",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"preview": "vite preview", "preview": "vite preview",
"prepublishOnly": "npm run lint && npm run test && npm run build" "prepublishOnly": "npm run lint && npm run test && npm run build"
}, },