chore: added format and format:check npm commands
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user