gulp-blaze

0.1.2 • Public • Published

gulp-blaze

Gulp wrapper for firebase's blaze compiler

Usage

npm install --save gulp-blaze
var gulp = require('gulp'),
    blaze = require('gulp-blaze');
 
gulp.task('compile:rules', function () {
  gulp.src('path/to/rules.yaml')
    .pipe(blaze({
      debug: true
    }))
    .pipe(gulp.dest('compiled/rules.json'));
});

Development

Notes:

  • The source code is written in EcmaScript 6 and resides in src/ directory.
  • Run npm run compile after installing dependencies to compile build.
  • Run npm test to run tests.
  • Install pre-commit-hook by running ln -s ../../pre-commit-hook .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit to automate builds.

Package Sidebar

Install

npm i gulp-blaze

Weekly Downloads

3

Version

0.1.2

License

ISC

Last publish

Collaborators

  • diwank