Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hcodes/gulp-jst_compiler
A JST plugin for Gulp
https://github.com/hcodes/gulp-jst_compiler
Last synced: 7 days ago
JSON representation
A JST plugin for Gulp
- Host: GitHub
- URL: https://github.com/hcodes/gulp-jst_compiler
- Owner: hcodes
- License: mit
- Created: 2014-05-11T10:27:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T22:48:59.000Z (almost 9 years ago)
- Last Synced: 2024-10-23T18:38:39.835Z (20 days ago)
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/gulp-jst_compiler
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gulp-jst_compiler
=================A [JST compiler](https://github.com/hcodes/jst) plugin for Gulp
[![NPM version](https://img.shields.io/npm/v/gulp-jst_compiler.svg?style=flat)](https://www.npmjs.com/package/gulp-jst_compiler)
[![Build Status](https://img.shields.io/travis/hcodes/gulp-jst_compiler.svg?style=flat)](https://travis-ci.org/hcodes/gulp-jst_compiler)
[![Dependency Status](https://img.shields.io/david/hcodes/gulp-jst_compiler.svg)](https://david-dm.org/hcodes/gulp-jst_compiler)## Install
```
npm install gulp-jst_compiler --save-dev
```## Usage
```javascript
var jst = require('gulp-jst_compiler');gulp.task('jst', function () {
gulp.src('./templates/**/*.jst.html')
.pipe(jst('all.jst.js'))
.pipe(gulp.dest('./public/js'));
});gulp.task('default', ['jst']);
```## Options
```javascript
.pipe(jst('all.jst.js', {withoutKernel: true})) // compile without jst-kernel
```