npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

protobufjs-brunch

1.0.2 • Public • Published

protobufjs-brunch

npm version Build Status

Adds .proto compilation support to brunch using protobuf.js.

Warning

To use this package, you are required to have babel-brunch to process the ES6 output. For this to work, we also recommend that you put the protobufjs-brunch dependency above babel-brunch (yes, brunch uses order for compilation dependency).

Usage

Install the plugin via npm with npm install --save-dev protobufjs-brunch.

Or, do manual install:

  • Add "protobufjs-brunch": "x.y.z" to package.json of your brunch app. Pick a plugin version that corresponds to your minor (y) brunch version.
  • If you want to use git version of plugin, add "protobufjs-brunch": "git+ssh://git@github.com:lego/protobufjs-brunch.git".

Options

Set additional include paths:

module.exports = {
  plugins: {
    proto: {
      includePath: 'src/messages'
    }
  }
}

install

npm i protobufjs-brunch

Downloadsweekly downloads

9

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability