chore: add 'npm run fmt' and 'npm run bump'

This commit is contained in:
AJ ONeal 2024-05-13 12:42:37 -06:00
parent 9c3f325bd3
commit 07fc543ab6
Signed by: coolaj86
GPG Key ID: F1D692A76F70CF98
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@
"scripts"
],
"scripts": {
"bump": "npm version -m \"chore(release): bump to v%s\"",
"fmt": "npm run prettier",
"prettier": "npx -p prettier@3.x -- prettier -w '**/*.{js,md}'",
"test": "node ./test.js"
},
"repository": {