0.2.14 • Published 10 years ago
appbones v0.2.14
Appbones 
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
- mem-fs-editor - ^1.2.1
- js-yaml - ^3.2.3
- lodash - ^2.4.1
0.2.14
10 years ago
0.2.13
10 years ago
0.2.11
10 years ago
0.2.9
10 years ago
0.2.8
10 years ago
0.2.7
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.7
10 years ago
0.1.6
11 years ago
0.1.5
11 years ago
0.1.4
11 years ago
0.1.3
11 years ago
0.1.2
11 years ago
0.1.1
11 years ago