Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
107d57f4
Unverified
Commit
107d57f4
authored
Apr 02, 2020
by
Joseph Mark
Committed by
GitHub
Apr 02, 2020
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
107d57f4
yarn-error.log
package-lock.json
# typescript output directory
dist/
...
...
package.json
View file @
107d57f4
...
...
@@ -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"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment