3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Yarn で ✨ Done in XXXs. を消す

Posted at

はじめに

Yarn で ✨ Done in XXXs. を消したかった。
package.json には以下を定義しています。

package.json
{
  "scripts": {
    "echo": "echo aaa"
  }
}

実行すると ✨ Done in XXXs. が表示されます。

$ yarn run echo
yarn run v1.22.10
$ echo aaa
aaa
✨  Done in 0.04s.

--silent オプション

--silent オプションを追加すると消えました。

$ yarn run --silent echo
aaa

おわりに

困った時は --help を見る。

$ yarn run --help
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?