【文件属性】:
文件名称:grunt-bunyan:通过Bunyan CLI将您的其他Grunt任务的输出通过管道发送的grunt任务
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-10 21:44:34
JavaScript
咕unt咕un的
Grunt插件,用于通过bunyan cli传递grunt输出。
安装
使用npm安装grunt-bunyan:
$ npm install grunt-bunyan
然后将此行添加到项目的Gruntfile.js中:
grunt . loadNpmTasks ( 'grunt-bunyan' ) ;
配置
grunt . initConfig ( {
bunyan : {
strict : true , // prevent non-bunyan logs from being outputted
level : 'trace' , // show all the things!
output : 'short' , // least verbose
}
} ) ;
用法
grunt bunyan [t
【文件预览】:
grunt-bunyan-master
----Gruntfile.js(272B)
----.npmignore(32B)
----tasks()
--------bunyan.js(2KB)
----README.md(1KB)
----.editorconfig(166B)
----.gitignore(18B)
----package.json(762B)