2.0.2 • Published 8 years ago
apeman-proto-genericlib
Prototype for generic lib.
Installation
$ npm install apeman-proto-genericlib --save
Usage
/** This is an example Apemanfile.js */
'use strict'
module.exports = {
$ctx: {
// Project context
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-genericlib project.
require('apeman-proto-genericlib')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
Name | Value |
---|
name | apeman-proto-genericlib |
version | 2.0.2 |
description | Prototype for generic lib. |
$proto
$tmpls
Path | Force | Mode | Tmpl | Data |
---|
tests/utils_tests/.test.js.bud | false | '644' | #!/usr/bin/env node /** * Bud file ... | {"year":2016,"params":{"type":"utilTe... |
utils/.util.js.bud | false | '644' | /** * A bud file to render with coz.... | {"year":2016,"params":{"type":"util",... |
$tasks
Name | Description |
---|
fs:chmod | Change file permissions. |
fs:mkdir | Generate directories. |
fs:sweep | Remove empty directories. |
fs:unlink | |
genericlib:mkdir | Generate directories for genericlib. |
genericlib:render | Render coz bud files. |
genericlib:test | "mocha:run" |
mocha:mkdir | Generate directories for project with mocha. |
mocha:render | Render files for project with mocha. |
mocha:run | Run mocha tests. |
test:mkdir | Generate directories. |
test:render | Render coz bud files. |
$wtchs
Name | Description |
---|
genericlib.render | {"pattern":"+(utils | tests)/*/..bud"} |
test:render | {"pattern":"test/*/..bud"} |
$needs
Bin | How to install |
---|
apeman | npm install -g apeman |
mocha | npm install -g mocha |
License
This software is released under the MIT License.
Links