0.2.14 • Published 9 years ago

appbones v0.2.14

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

Appbones Built with Grunt

MIT License NPM version NPM downloads Build Status Coverage Status

Build path/directory and templates/files with an yaml config file

Install

npm install appbones --save

Usage

  • app.js
AppBones = require('appbones');

// @param [source, destination]
var builder = new AppBones('../templates', '/abs/path/to/project/dir');
// @param [yml_file, (template_data)]
builder.build('../relative/path/to/bones/file.yml', {
    anobject: {
        content: 'for',
        replacing: 'lodash.template()'
    }
});
  • bones.yml
---
# files
root:
    - [toto.txt, .toto.yml]
    - html:
        - css:
        - js:
            - [_toto.txt, _.toto.yml]

Notes

appbones source and destination path are resolved with node path.resolve relative to current used module

History

v0.2.9 - Fix empty files

v0.2.8 - Fix undescore inside files name

v0.2.7 - Grammatically english updated

v0.2.6 - Fix sub files creation

v0.2.3 - Update package.json

v0.2.2 - Update documentation

v0.2.1 - Change fs-extra for mem-fs-editor


v0.1.7 - ...

Dependencies

0.2.14

9 years ago

0.2.13

9 years ago

0.2.11

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago