Automatic formatting

This commit is contained in:
Tw93
2025-08-26 19:42:00 +08:00
parent 0e11f7f647
commit 441861c89f

View File

@@ -42,6 +42,7 @@
"cli:build": "cross-env NODE_ENV=production rollup -c",
"test": "pnpm run cli:build && cross-env PAKE_CREATE_APP=1 node tests/index.js",
"format": "prettier --write . --ignore-unknown && find tests -name '*.js' -exec sed -i '' 's/[[:space:]]*$//' {} \\; && cd src-tauri && cargo fmt --verbose",
"format:check": "prettier --check . --ignore-unknown",
"prepublishOnly": "pnpm run cli:build"
},
"type": "module",