0.1.4 • Published 10 years ago

gulp-tree v0.1.4

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

gulp-tree

Tree creates a structured hierarchical JSON from a folder structure

Usage

First, install gulp-tree as a development dependency:

npm install --save-dev gulp-tree

Then, add it to your gulpfile.js:

var tree = require("gulp-tree");

gulp.src('./src/*.html')
    .pipe(tree({
        patternsPath: './src/patterns',
        jsonPath: './src/json/'
    }))

API

tree(options)

options.patternsPath

Type: String|Number

Default: ./src/patterns

Directory where the patterns are located

options.jsonPath

Type: String

Default: './src/json'

Directory where the json should be saved

Usage

Tree creates a structured hierarchical JSON from a folder structure

License

MIT License

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago