forked from Ivasoft/mattermost-mobile
Use bash to run scripts (#7268)
* Use bash to run scripts * Revert to running scripts directly
This commit is contained in:
16
package.json
16
package.json
@@ -176,14 +176,14 @@
|
||||
},
|
||||
"scripts": {
|
||||
"android": "react-native run-android",
|
||||
"build:android": "sh scripts/build.sh apk",
|
||||
"build:android-unsigned": "sh scripts/build.sh apk unsigned",
|
||||
"build:ios": "sh scripts/build.sh ipa",
|
||||
"build:ios-sim": "sh scripts/build.sh ipa simulator",
|
||||
"build:ios-unsigned": "sh scripts/build.sh ipa unsigned",
|
||||
"build:android": "./scripts/build.sh apk",
|
||||
"build:android-unsigned": "./scripts/build.sh apk unsigned",
|
||||
"build:ios": "./scripts/build.sh ipa",
|
||||
"build:ios-sim": "./scripts/build.sh ipa simulator",
|
||||
"build:ios-unsigned": "./scripts/build.sh ipa unsigned",
|
||||
"check": "npm run lint && npm run tsc",
|
||||
"check-test": "npm run lint && npm run tsc && npm run test",
|
||||
"clean": "sh scripts/clean.sh",
|
||||
"clean": "./scripts/clean.sh",
|
||||
"e2e:android": "cd detox && npm run e2e:android-build && npm run e2e:android-test && cd ..",
|
||||
"e2e:ios": "cd detox && npm run e2e:ios-test && cd ..",
|
||||
"fix": "npm run lint -- --fix",
|
||||
@@ -196,8 +196,8 @@
|
||||
"mmjstool": "mmjstool",
|
||||
"pod-install": "cd ios && pod install",
|
||||
"pod-install-m1": "cd ios && arch -x86_64 pod install",
|
||||
"postinstall": "patch-package && sh scripts/postinstall.sh",
|
||||
"preinstall": "sh scripts/preinstall.sh && npx solidarity",
|
||||
"postinstall": "patch-package && ./scripts/postinstall.sh",
|
||||
"preinstall": "./scripts/preinstall.sh && npx solidarity",
|
||||
"start": "react-native start",
|
||||
"test": "jest --forceExit --runInBand",
|
||||
"test:coverage": "jest --coverage",
|
||||
|
||||
Reference in New Issue
Block a user