chore: add fmt script for prettier

This commit is contained in:
AJ ONeal 2024-08-28 21:31:18 -06:00
parent 5c6e620136
commit 976cb2682c
Signed by: coolaj86
GPG Key ID: F1D692A76F70CF98

View File

@ -14,7 +14,10 @@
],
"scripts": {
"build": "bash build.sh",
"test": "node tests"
"fmt": "npm run basetag-rebase && npm run prettier",
"test": "node tests",
"--------": "--------------------------------------------------------------------------",
"prettier": "npx -p prettier@2 -- prettier --write '**/*.{md,js,jsx,json,css,html,vue}'"
},
"repository": {
"type": "git",