mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 20:14:57 +08:00
Reduce logs when formatting JS
This commit is contained in:
parent
307c02af24
commit
85b86111fe
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
},
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -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"],
|
||||
|
|
Loading…
Add table
Reference in a new issue