diff --git a/package.json b/package.json index 49bfd9ed..ab2860fd 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "scripts": { "build": "lerna run build", "check": "lerna run check", - "lint": "prettier -c .", - "format": "prettier -w ." + "lint": "lerna run lint", + "format": "lerna run format" }, "keywords": [ "codemirror", diff --git a/packages/web/package.json b/packages/web/package.json index 048bb818..d8dd33d0 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -19,7 +19,9 @@ "prebuild": "node script/prebuild.js", "build": "npm run prebuild && tsc && vite build", "start": "node ./bin/flok-web.js", - "check": "tsc --noEmit" + "check": "tsc --noEmit", + "lint": "prettier -c .", + "format": "prettier -w ." }, "dependencies": { "@flok-editor/server-middleware": "^1.3.0",