【文件属性】:
文件名称:load-grunt-initconfig:将您的长配置分成一口大小的块
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-30 00:15:05
JavaScript
加载 grunt-initconfig
将您的长配置分成一口大小的块。
安装
npm install load-grunt-initconfig --save-dev
用法
load-grunt-initconfig将在.initconfig目录中查找配置文件。 这是一个示例项目结构:
$ tree -a
.
├── .initconfig
| ├── clean.js
| ├── copy.json
| ├── jshint.js
| └── mochaTest.json
└── Gruntfile.js
以及相应的 Gruntfile.js:
module . exports = function ( grunt ) {
// load tasks
grunt . loadNpmTasks ( 'grunt-contrib-copy' ) ;
g
【文件预览】:
load-grunt-initconfig-master
----.gitignore(30B)
----package.json(916B)
----.travis.yml(49B)
----.initconfig()
--------jshint.js(111B)
--------clean.json(9B)
--------mochaTest.json(50B)
--------copy.js(92B)
----Gruntfile.js(483B)
----README.md(3KB)
----lib()
--------index.js(2KB)
----test()
--------samples()
--------helpers()
--------load-grunt-initconfig.spec.js(1KB)