https://github.com/fny/gulp-firebase-bolt-compiler
Firebase Bolt plugin for Gulp.
https://github.com/fny/gulp-firebase-bolt-compiler
Last synced: about 1 year ago
JSON representation
Firebase Bolt plugin for Gulp.
- Host: GitHub
- URL: https://github.com/fny/gulp-firebase-bolt-compiler
- Owner: fny
- Created: 2016-05-30T03:03:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T01:32:36.000Z (over 9 years ago)
- Last Synced: 2025-04-15T09:29:29.871Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-firebase-bolt-compiler :fire:
[](https://travis-ci.org/fny/gulp-firebase-bolt-compiler) [](http://badge.fury.io/js/gulp-firebase-bolt-compiler) [](https://david-dm.org/fny/gulp-firebase-bolt-compiler)
No frills Firebase Bolt plugin for Gulp that simply wraps Firebase's [Bolt](https://github.com/firebase/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
```javascript
'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`](https://github.com/firebase/bolt), you're most likely having an issue with [`firebase-bolt`](https://github.com/firebase/bolt). Check [`firebase-bolt`'s issues](https://github.com/firebase/bolt/issues) and elsewhere about the internet before filing an issue here!