【文件属性】:
文件名称:grunt-update-contributors:在 JSON 文件中更新和提交贡献者
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-01 01:10:33
JavaScript
咕噜更新贡献者
在 JSON 文件中更新和提交贡献者 - 提交到存储库的所有开发人员,按提交次数排序。
基于 Vojta Jinas 。
安装
在项目的Gruntfile.js文件旁边安装 npm 包:
npm install grunt-update-contributors --save-dev
将此行添加到项目的Gruntfile.js :
grunt.loadNpmTasks('grunt-update-contributors');
用
$ grunt update-contributors或在其他任务中使用 'update-contributors' 任务。
默认配置
'update-contributors' : {
options : {
file : 'package.json' ,
commit : true ,
commitM
【文件预览】:
grunt-update-contributors-master
----.gitignore(13B)
----package.json(641B)
----README.md(1KB)
----Gruntfile.coffee(326B)
----tasks()
--------update-contributors.js(2KB)