gulp-todo:使用Gulp流从代码中的todos和fixmes生成TODO.md

时间:2021-02-03 16:48:05
【文件属性】:
文件名称:gulp-todo:使用Gulp流从代码中的todos和fixmes生成TODO.md
文件大小:13KB
文件格式:ZIP
更新时间:2021-02-03 16:48:05
javascript gulp plugin todo stream -todo 从流中的文件注释中解析并输出TODO和FIXME 以gulp-stream解析您的文件,从注释中提取待办事项/固定内容,并使用在报告器中将其报告给您选择。 输出的问题应在上报告 支持最新的leasot版本7.0.0 。 请仔细升级到7.0.0版, gulp-todo API中有重大更改 安装 用安装 $ npm install --save-dev gulp-todo 用法 const gulp = require ( 'gulp' ) ; const todo = require ( 'gulp-todo' ) ; // generate a todo.md from your javascript files gulp . task ( 'todo' , function ( ) { gulp . src ( 'js/**/*.js' ) . pipe ( todo ( ) ) . pipe ( gulp . dest ( './' ) ) ; // -> Will output a TODO.md wit
【文件预览】:
gulp-todo-master
----.jshintrc(388B)
----.gitignore(52B)
----package.json(1KB)
----.npmrc(19B)
----.travis.yml(158B)
----gulpfile.js(2KB)
----LICENSE(1KB)
----index.js(4KB)
----.prettierignore(39B)
----README.md(5KB)
----tests()
--------stream-spec.js(7KB)
--------expected()
--------fixtures()
----lib()
--------reporter.js(1KB)
----.prettierrc.yml(131B)
----TODO.md(62B)
----.gitattributes(12B)
----.editorconfig(285B)

网友评论