Always run `yarn` from `"scripts"`
This commit is contained in:
parent
f615b1a75f
commit
d599032cef
|
@ -17,7 +17,7 @@
|
|||
"start": "electron .",
|
||||
"grunt": "grunt",
|
||||
"generate": "yarn grunt",
|
||||
"build-release": "npm run build",
|
||||
"build-release": "yarn run build",
|
||||
"sign-release": "node ts/updater/generateSignature.js",
|
||||
"notarize": "node ts/build/notarize.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",
|
||||
|
@ -54,7 +54,7 @@
|
|||
"build:typed-scss": "tsm sticker-creator",
|
||||
"build:webpack": "cross-env NODE_ENV=production webpack",
|
||||
"build:electron": "electron-builder --config.extraMetadata.environment=$SIGNAL_ENV",
|
||||
"build:release": "cross-env SIGNAL_ENV=production npm run build:electron -- --config.directories.output=release",
|
||||
"build:release": "cross-env SIGNAL_ENV=production yarn build:electron -- --config.directories.output=release",
|
||||
"build:zip": "node scripts/zip-macos-release.js",
|
||||
"preverify:ts": "yarn build:typed-scss",
|
||||
"verify": "run-p --print-label verify:*",
|
||||
|
|
Loading…
Reference in New Issue