Reduce logs when formatting JS

This commit is contained in:
Jonatan Kłosko 2024-12-05 13:45:55 +08:00
parent 307c02af24
commit 85b86111fe
2 changed files with 3 additions and 3 deletions

View file

@ -3,8 +3,8 @@
"scripts": {
"deploy": "node build.js --deploy",
"watch": "node build.js --watch",
"format": "prettier --write '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern",
"format-check": "prettier --check '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern",
"format": "prettier --write '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern --log-level warn",
"format-check": "prettier --check '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern --log-level warn",
"test": "jest",
"test:watch": "jest --watch"
},

View file

@ -67,7 +67,7 @@ defmodule Livebook.MixProject do
[
setup: ["deps.get", "cmd --cd assets npm install"],
"assets.deploy": ["cmd npm run deploy --prefix assets"],
"format.all": ["format", "cmd --cd assets npm run format"],
"format.all": ["format", "cmd --cd assets npm run --silent format"],
"protobuf.generate": ["cmd --cd proto mix protobuf.generate"],
"phx.server": ["livebook.gen_priv", "phx.server"],
"escript.build": ["livebook.gen_priv", "escript.build"],