Socket
Book a DemoInstallSign in
Socket

gulp-kit

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-kit

Integrates node-kit with gulp to compile .kit files

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
2
Created
Source

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

Keywords

codekit

FAQs

Package last updated on 25 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts