/** * Bud file for index.config. */ var u = require('../../lib'), string = u.string, reducing = u.reducing, format = u.core.util.format, copy = u.object.copy; "use strict"; function libIndex(name, values) { return copy(values || {}, { "dirname": format("lib/%s", string.snakeString(name)), "doc": { "file": format("apeman util %s module", string.sentenceString(name).toLowerCase()), "module": format("apeman-util/lib/%s", string.snakeString(name)) } }); } module.exports = { mode: '444', force: true, data: [ { "dirname": "ci/configs", "doc": { "file": "CI configuration.", "module": "apeman-util/ci/configs" } }, { "dirname": "lib", "doc": { "file": "apeman-util", "module": "apeman-util/lib" }, "descProperties": true }, [ libIndex('array'), libIndex('browsing'), libIndex('clustering', {pascalPattern: "+(*_helper|*_forker)"}), libIndex('env'), libIndex('file'), libIndex('filtering'), libIndex('json'), libIndex('html'), libIndex('imaging'), libIndex('logging', {pascalPattern: "*logger"}), libIndex('mapping'), libIndex('minify'), libIndex('object'), libIndex('pathname'), libIndex('random'), libIndex('reducing'), libIndex('rendering'), libIndex('sorting'), libIndex('schemas', {pascalPattern: "*schema*"}), libIndex('string'), libIndex('tasking', {pascalPattern: "*"}), libIndex('testing', {pascalPattern: "*"}) ] ].reduce(reducing.concatReduce(), []) }