pbjs
Version:
A minimal implementation of Google Protocol Buffers for JavaScript
28 lines (27 loc) • 715 B
JSON
{
"name": "pbjs",
"version": "0.0.11",
"description": "A minimal implementation of Google Protocol Buffers for JavaScript",
"main": "./index.js",
"types": "./index.d.ts",
"bin": {
"pbjs": "./cli.js"
},
"scripts": {
"test": "tsc && mocha",
"generate": "rm -f proto.test.ts && tsc && node cli test.proto --es5 test.proto.es5.js --es6 test.proto.es6.js --ts test.proto.ts",
"build": "tsc",
"prepublishOnly": "tsc && chmod +x cli.js"
},
"dependencies": {
"commander": "4.0.1",
"protocol-buffers-schema": "3.1.0"
},
"devDependencies": {
"@types/mocha": "5.2.7",
"long": "4.0.0",
"mocha": "6.2.2",
"protobufjs": "6.8.8",
"typescript": "3.7.2"
}
}