【文件属性】:
文件名称:gulp-config-sync:自动同步 bower.json 和 package.json
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-07 04:15:42
JavaScript
#gulp-config-sync
在每个配置文件(package.json、bower.json、component.js...)中同步版本、名称、描述、关键字...。
默认情况下, package.json 用作真实来源,但您可以指定任何来源和任何要同步的字段。
仅同步指定的字段。 其他字段保持不变。
吞咽
这是的插件。
用法
安装gulp-config-sync作为开发依赖
$ npm install gulp-config-sync --save-dev
在你的gulpfile.js
// import plugin
var sync = require ( 'gulp-config-sync' ) ;
gulp . task ( 'sync' , function ( ) {
gulp . src ( [ 'bower.json' , 'component.jso
【文件预览】:
gulp-config-sync-master
----.gitignore(587B)
----package.json(929B)
----.travis.yml(52B)
----LICENSE(1KB)
----index.js(2KB)
----CHANGELOG.md(111B)
----README.md(2KB)
----test()
--------main.js(4KB)
--------fixtures()