Skip to content

Build your personal knowledge base with Trilium Notes

build(scripts): replace prettier with dprint

Panagiotis Papadopoulose95172e2db4f
diff --git a/package.json b/package.json
index 7a31dbe847..7ef7a8055a 100644
--- a/package.json
+++ b/package.json
@@ -58,8 +58,8 @@
"test:integration-mem-db": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"test:integration-mem-db-dev": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"dev:watch-dist": "tsx ./bin/watch-dist.ts",
- "dev:prettier-check": "prettier . --check",
- "dev:prettier-fix": "prettier . --write",
+ "dev:format-check": "dprint check",
+ "dev:format-fix": "dprint fmt",
"dev:linter-check": "eslint .",
"dev:linter-fix": "eslint . --fix",
"chore:update-build-info": "tsx bin/update-build-info.ts",