Add yarn build-protobuf
command
This commit is contained in:
parent
58399549c3
commit
2d95745d56
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ libtextsecure/components.js
|
|||
libtextsecure/test/test.js
|
||||
test/test.js
|
||||
ts/**/*.js
|
||||
ts/protobuf/**
|
||||
|
||||
# Third-party files
|
||||
components/**
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"generate": "npm run icon-gen && grunt",
|
||||
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
|
||||
"build-release": "SIGNAL_ENV=production npm run build -- --config.directories.output=release",
|
||||
"build-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/SignalService.js protos/SignalService.proto && pbts --out ts/protobuf/SignalService.d.ts ts/protobuf/SignalService.js",
|
||||
"prepare-beta-build": "node prepare_beta_build.js",
|
||||
"prepare-import-build": "node prepare_import_build.js",
|
||||
"publish-to-apt": "NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh",
|
||||
|
|
Loading…
Reference in a new issue