Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firebase-bolt

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebase-bolt

Firebase Bolt Security and Modeling Language Compiler

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by12.81%
Maintainers
1
Weekly downloads
 
Created
Source

Bolt Compiler

Build Status NPM Version NPM Downloads

Bolt is an experimental security and rules compiler for Firebase. It is currently in early alpha. There are known bugs and incomplete features in the current implementation, so PLEASE DO NOT USE IN PRODUCTION applications.

Otherwise, we'd love to have feedback from early adopters. You can email questions to firebase-talk@googlegroups.com using "Bolt" in the subject line.

Language Definition

Using the Bolt Compiler

You can easily install the bolt compiler using npm:

$ npm install --global firebase-bolt

Execute the Bolt compiler from the command line (it reads a Bolt file from standard input and write a JSON rules file to standard output):

$ firebase-bolt < rules.bolt > rules.json

You can then upload the resulting firebase.json file via the firebase command line:

$ firebase deploy

The firebase command line tool version 2 will also compile your bolt file directly if you have firebase-bolt installed and you use the .bolt file extension in the rules property of your firebase.json configuration file.

Developing with this Repo

You should have node.js and npm installed to use this repository.

Setup command line environment and lint, build, test.

$ source tools/use
$ configure-project
$ gulp

Useful commands

Check JavaScript source files for required formatting conventions:

$ gulp lint

Build Bolt parser from PEG grammar:

$ gulp build

Run command line tests:

$ gulp test

More extensive tests which include running against a sandboxed Firebase app:

$ run-tests

Run browser-based tests:

$ browser-tests

Keywords

FAQs

Package last updated on 12 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc