2.0.1 • Published 8 years ago

apeman-proto-code v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

apeman-proto-code

Build Status Code Climate Code Coverage npm Version

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

NameValue
nameapeman-proto-code
version2.0.1
descriptionPrototype for project with codes.

$proto

$tmpls

PathForceModeTmplData
code/.code.json.budfalse'644'#!/usr/bin/env node /** * Bud file ...{"year":2016,"params":{"type":"code",...
code/index.jsfalse'644'{{! apeman-tmpl-code }} /** * Export...{"params":{},"default":"en","generato...

$tasks

NameDescription
code:fmtFormat a json file.
code:mkdirPrepare code directory.
code:renderRender code directory files.

$wtchs

NameDescription
code:fmt{"pattern":"code/*.json"}
code:render{"pattern":"code/*/..bud"}

$needs

BinHow to install
apemannpm install -g apeman

License

This software is released under the MIT License.

Links