Unverified Commit 107d57f4 authored by Joseph Mark's avatar Joseph Mark Committed by GitHub
Browse files

fix: tweak yarn scripts (#584)

* remove package-lock.json from .gitignore

* Tweak yarn scripts
parent bff95cbc
Pipeline #86031 failed with stages
in 3 minutes and 2 seconds
yarn-error.log
package-lock.json
# typescript output directory
dist/
......
......@@ -10,12 +10,13 @@
"scripts": {
"android": "yarn run build-rust-android && npx react-native run-android",
"build-prod:ios": "NODE_OPTIONS=--max_old_space_size=8192 npx react-native bundle --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --assets-dest='./ios'",
"build-rust-ios": "cd rust/signer && make ios",
"build:ios": "yarn install && cd ios && pod install && cd .. && yarn build-rust-ios",
"build-rust-ios": "(cd rust/signer && make ios)",
"build-rust-android": "(cd rust/signer && make android)",
"build-rust-all": "yarn build-rust-ios && yarn build-rust-android",
"build:ios": "yarn install && (cd ios && pod install) && yarn build-rust-ios",
"build:android": "yarn install && yarn buil-rust-android",
"build-rust-android": "cd rust/signer && make android",
"clean": "watchman watch-del-all && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-* && rm -rf node_modules/ && yarn cache clean --force && rm -rf ./android/app/build && rm -rf ./ios/build && yarn clean-rust && cd ios && pod deintegrate && cd ..",
"clean-rust": "cd rust/signer && cargo clean && cd ../..",
"clean-rust": "(cd rust/signer && cargo clean)",
"commit": "commit-wizard",
"ios": "yarn run build-rust-ios && npx react-native run-ios",
"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment