0.1.2 • Published 10 years ago

gulp-blaze v0.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

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.