gulp-firebase-bolt-compiler

0.1.0 • Public • Published

gulp-firebase-bolt-compiler 🔥

Build Status npm version Dependencies

No frills Firebase Bolt plugin for Gulp that simply wraps Firebase's Bolt library.

Note that all releases, even v0.x, are stable. The version simply reflects the suppored Bolt compiler version (in this case any v0.y.)

Install

npm install gulp-firebase-bolt-compiler-compiler --save-dev

Example

'use strict';
 
const gulp = require('gulp');
const concat = require('gulp-concat');
const bolt = require('gulp-firebase-bolt-compiler');
 
const paths = {
  rules: [ 'rules/functions.bolt', 'rules/types/**/*.bolt', 'rules/paths.bolt' ]
};
 
gulp.task('bolt', function() {
  gulp.src(paths.bolt)
    .pipe(concat('rules.bolt'))
    .pipe(bolt())
    .pipe(gulp.dest('./build/'));
});

Issues

Since gulp-firebase-bolt-compiler is a light-weight wrapper around firebase-bolt, you're most likely having an issue with firebase-bolt. Check firebase-bolt's issues and elsewhere about the internet before filing an issue here!

/gulp-firebase-bolt-compiler/

    Package Sidebar

    Install

    npm i gulp-firebase-bolt-compiler

    Weekly Downloads

    47

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • fny