demo-protobuf: Add options to pbjs script

This commit is contained in:
willclarktech
2020-06-23 10:26:43 +02:00
parent 21e29d1f25
commit e855ae31b1
3 changed files with 7941 additions and 52676 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js",
"get-proto": "./scripts/get-proto.sh",
"prepack-proto": "mkdir -p src/generated",
"pack-proto": "pbjs -t static-module -w commonjs -o src/generated/codecimpl.js ./proto/**/*.proto",
"pack-proto": "pbjs -t static-module -w commonjs -o src/generated/codecimpl.js --sparse --no-beautify --no-delimited --no-verify --no-convert ./proto/**/*.proto",
"define-proto": "pbts src/generated/codecimpl.js -o src/generated/codecimpl.d.ts"
},
"devDependencies": {
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff