【文件属性】:
文件名称:grunt-magpie:在远程存储库中版本和保存资产
文件大小:18KB
文件格式:ZIP
更新时间:2021-06-21 01:07:13
JavaScript
咕噜鹊
在远程存储库中版本和保存资产。
入门
这个插件需要 Grunt ~0.4.5
如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件:
npm install grunt-magpie --save-dev
安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它:
grunt . loadNpmTasks ( 'grunt-magpie' ) ;
“喜鹊”任务
概述
在项目的 Gruntfile 中,将名为magpie的部分添加到传递给grunt.initConfig()的数据对象中。
grunt . initConfig ( {
magpie : {
options : {
serverUrl : "http://my-magp
【文件预览】:
grunt-magpie-master
----LICENSE-MIT(1KB)
----.jshintrc(191B)
----Gruntfile.js(4KB)
----lib()
--------repository.js(4KB)
--------util.js(13KB)
----tasks()
--------magpie.js(7KB)
----.travis.yml(375B)
----test()
--------magpie_test.js(4KB)
--------fixtures()
--------expected()
--------mocks.js(2KB)
----README.md(3KB)
----.gitignore(79B)
----package.json(1KB)