JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1226
  • Score
    100M100P100Q136408F
  • License Apache-2.0

Firebase Bolt Security and Modeling Language Compiler

Package Exports

  • firebase-bolt

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (firebase-bolt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Bolt Compiler

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

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

Run browser-based tests:

$ browser-tests

Execute a Bolt compiler from the command line:

$ firebase-bolt < <bolt-file>

A Firebase JSON file is sent to standard output.