style: add format script

This commit is contained in:
2026-06-06 00:00:03 +09:00
parent 0c4231f159
commit c422a0c0d4
2 changed files with 8 additions and 2 deletions

View File

@@ -7,7 +7,9 @@
"brainbox": "./src/index.ts"
},
"scripts": {
"cli": "bun run src/index.ts"
"cli": "bun run src/index.ts",
"test": "bun test",
"format": "bun run prettier 'src/**/*.ts' -w"
},
"devDependencies": {
"@types/bun": "latest",
@@ -22,6 +24,7 @@
"commander": "^15.0.0",
"dotenv": "^17.4.2",
"identitydb": "^0.5.1",
"ora": "^9.4.0"
"ora": "^9.4.0",
"prettier": "^3.8.3"
}
}