2.0.1 • Published 8 years ago
apeman-proto-code
Prototype for project with codes.
Installation
$ npm install apeman-proto-code --save
Usage
/** This is an example Apemanfile.js */
'use strict'
module.exports = {
$ctx: {
// Project context
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-code project.
require('apeman-proto-code')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
Name | Value |
---|
name | apeman-proto-code |
version | 2.0.1 |
description | Prototype for project with codes. |
$proto
$tmpls
Path | Force | Mode | Tmpl | Data |
---|
code/.code.json.bud | false | '644' | #!/usr/bin/env node /** * Bud file ... | {"year":2016,"params":{"type":"code",... |
code/index.js | false | '644' | {{! apeman-tmpl-code }} /** * Export... | {"params":{},"default":"en","generato... |
$tasks
Name | Description |
---|
code:fmt | Format a json file. |
code:mkdir | Prepare code directory. |
code:render | Render code directory files. |
$wtchs
Name | Description |
---|
code:fmt | {"pattern":"code/*.json"} |
code:render | {"pattern":"code/*/..bud"} |
$needs
Bin | How to install |
---|
apeman | npm install -g apeman |
License
This software is released under the MIT License.
Links