gulp-kit

1.0.1 • Public • Published

gulp-kit

Integrates node-kit with gulp to compile .kit templates with your own build system.

NPM version

Usage

var kit = require('gulp-kit');

gulp.task('default', function(){
    return gulp.src('src/kit/*.kit')
    .pipe(kit())
    .pipe(gulp.dest('dest/'));
});

Options

You can turn off the default behaviour of ignoring attempts to compile partials by passing {compilePartials : true} to the plugin.

  // ... as above
  .pipe( kit({compilePartials : true}) )
  // ... further pipes, as above

You can also pass through any user-defined CodeKit variables by passing { variables: { key: value, key: value, etc. }} to the plugin.

  // ... as above
  .pipe( kit({			
      variables: {
			"$uiVer": pkg.version,
			"$bsVer": "3.1"
	}}) )
  // ... further pipes, as above

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

Package Sidebar

Install

npm i gulp-kit

Weekly Downloads

93

Version

1.0.1

License

BSD-2-Clause

Unpacked Size

2.96 kB

Total Files

3

Last publish

Collaborators

  • fatso83
  • lukx