Compile all protocol buffers
This commit is contained in:
parent
c8e1c29b16
commit
daa4a3d63f
2 changed files with 5 additions and 3 deletions
|
@ -18,8 +18,10 @@
|
|||
"generate": "yarn icon-gen && yarn 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",
|
||||
"clean-protobuf": "rimraf ts/protobuf/*.d.ts",
|
||||
"build-module-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
|
||||
"clean-module-protobuf": "rm -f ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
|
||||
"build-protobuf": "yarn build-module-protobuf",
|
||||
"clean-protobuf": "yarn clean-module-protobuf",
|
||||
"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",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import { signalservice as SignalService } from './SignalService';
|
||||
import { signalservice as SignalService } from './compiled';
|
||||
|
||||
export { SignalService };
|
||||
|
|
Loading…
Add table
Reference in a new issue