Add format script to package.json as running lint can be slow

This commit is contained in:
thecashewtrader 2022-11-02 21:46:25 +05:30
parent f574abbf7f
commit 13e9227e78

View File

@ -6,6 +6,7 @@
"serve": "vite", "serve": "vite",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"format": "prettier -w --ignore-path .gitignore **/**.{js,vue}",
"lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ." "lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ."
}, },
"dependencies": { "dependencies": {