add biome scripts

DreamingCodes committed Mar 22, 2025 at 20:06 UTC ddc524decb2915bf16bde5e1d279329f51a23ef9
1 file changed +6 -3
package.json
+6 -3
@@ -15,10 +15,13 @@
15 "files": ["dist-js", "README.md"],
16 "scripts": {
17 "build": "rollup -c",
18 - "prepublishOnly": "bun run build",
19 - "pretest": "bun run build",
18 + "prepublishOnly": "bun run check && bun run build",
19 + "pretest": "bun run check",
20 "tauri": "tauri",
21 - "biome": "biome"
21 + "biome": "biome",
22 + "format": "biome format",
23 + "lint": "biome lint",
24 + "check": "biome check"
25 },
26 "dependencies": {
27 "@tauri-apps/api": "^2.0.0-beta.15"