Compile all protocol buffers
This commit is contained in:
@@ -18,8 +18,10 @@
|
|||||||
"generate": "yarn icon-gen && yarn grunt",
|
"generate": "yarn icon-gen && yarn grunt",
|
||||||
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
|
"build": "build --config.extraMetadata.environment=$SIGNAL_ENV",
|
||||||
"build-release": "SIGNAL_ENV=production npm run build -- --config.directories.output=release",
|
"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",
|
"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-protobuf": "rimraf ts/protobuf/*.d.ts",
|
"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-beta-build": "node prepare_beta_build.js",
|
||||||
"prepare-import-build": "node prepare_import_build.js",
|
"prepare-import-build": "node prepare_import_build.js",
|
||||||
"publish-to-apt": "NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh",
|
"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 };
|
export { SignalService };
|
||||||
|
Reference in New Issue
Block a user