gulp-script

Gulp plugin of CirruScript compiler


Keywords
cirru-script
License
MIT
Install
npm install gulp-script@0.5.0-alpha2

Documentation

Gulp CirruScript

Gulp plugin for compiling CirruScript.

Usage

npm i --save-dev gulp-cirru-script
gulp.task 'script', ->
  script = require 'gulp-cirru-script'

  gulp
  .src 'source/**/*.cirru'
  .pipe script()
  .pipe gulp.dest('build/')

Options

  • es6(outputs ES6)
gulp
.src 'source/**/*.cirru'
.pipe script(es6: true)
.pipe gulp.dest('build/')

Development

  • build with gulp script

License

MIT