mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2025-12-08 20:58:55 +00:00
* Get protobufjs-cli to a publishable state * Fix eslint issues * Fix pbts path * Install cli package deps on CI 'build' job * fix: get rid of require-protobufjs.js * fix: lint * fix: versions * chore(deps): update package-lock.json Co-authored-by: Stacey Sern <stacey@dropbox.com> Co-authored-by: Gabriel Cangussu <gabrielcangussu@gmail.com> Co-authored-by: Alexander Fenster <fenster@google.com>
11 lines
290 B
JavaScript
11 lines
290 B
JavaScript
"use strict";
|
|
module.exports = proto2_target;
|
|
|
|
var protobuf = require("protobufjs");
|
|
|
|
proto2_target.description = "Protocol Buffers, Version 2";
|
|
|
|
function proto2_target(root, options, callback) {
|
|
require("./proto")(root, protobuf.util.merge(options, { syntax: "proto2" }), callback);
|
|
}
|