grunt-commands:在Grunt中执行命令或批处理文件

时间:2021-05-16 13:47:51
【文件属性】:
文件名称:grunt-commands:在Grunt中执行命令或批处理文件
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-16 13:47:51
JavaScript 咕unt命令 在grunt中运行shell命令,批处理文件或可执行文件的简单方法。 入门 这个插件需要~0.4.0 。 如果您以前从未使用过 ,请务必查看《指南》,因为它说明了如何创建以及安装和使用Grunt插件。 熟悉该过程后,可以使用以下命令安装此插件: npm install grunt-commands --save-dev 插件安装完成后,可以使用以下JavaScript代码在您的Gruntfile中启用该插件: grunt . loadNpmTasks ( 'grunt-commands' ) ; 该插件旨在与Grunt 0.4.x一起使用。 如果您仍在使用grunt v0.3.x,则强烈建议。 命令任务 使用grunt commands命令运行此任务。 任务目标,选项可以根据grunt指南指定。 选项 力量 类型: Boolean值默认值:true 使用范例
【文件预览】:
grunt-commands-master
----.gitignore(3KB)
----tasks()
--------commands.js(6KB)
----README.md(4KB)
----test()
--------commands_test.js(862B)
--------zip.bat(68B)
--------include space.js(159B)
--------tests.js(158B)
--------include space.sh(52B)
--------deploy.sh(51B)
----docs()
--------overview.md(180B)
----.gitattributes(483B)
----Gruntfile.js(3KB)
----.jshintrc(206B)
----package.json(1KB)
----CONTRIBUTING.md(127B)
----AUTHORS(38B)
----LICENSE.md(1KB)
----.npmignore(36B)
----.travis.yml(188B)
----CHANGELOG(93B)

网友评论