Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Jul 11, 2024
1 parent e4c2dc7 commit 630d214
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,23 @@
"zip:!firefox": "cd ./dist/firefox && zip -r -X ../firefox.zip .",
"zip:!macos": "cd './dist/Brume Wallet.app' && zip -r -X ../macos.zip .",
"preversion": "find . -name '.DS_Store' -delete && echo $npm_package_version > ./version.txt",
"version:!android": "cp ./apps/android/app/release/app-release.apk ./dist/android.apk",
"version:!ios-and-ipados": "cp './dist/ios/Brume Wallet.ipa' ./dist/ios-and-ipados.ipa",
"version:!gitadd1": "git update-index --no-assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md",
"version:!gitadd2": "git add --force ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md",
"version:!gitadd3": "git update-index --assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md",
"version:!gitadd": "git add . && npm run version:!gitadd1 && npm run version:!gitadd2 && npm run version:!gitadd3",
"version": "npm run build && npm run sync && node ./scripts/postversion.mjs && read && npm run zip && npm run version:!android && npm run version:!ios-and-ipados && node ./scripts/postversion2.mjs && npm run version:!gitadd",
"version": "npm run version:!build",
"version:!build": "npm run build && npm run version:!sync",
"version:!sync": "npm run sync && npm run version:!script:pre",
"version:!script:pre": "node ./scripts/postversion.mjs && npm run version:!echo",
"version:!echo": "echo Open Android Studio and generate a signed APK for release && read && npm run version:!echo2",
"version:!echo2": "echo Open Xcode and generate an iOS Archive for App Store Connect && read && npm run version:!echo3",
"version:!echo3": "echo Open Xcode and generate an iOS Archive for Release Testing with name \"ios\" && read && npm run version:!echo4",
"version:!echo4": "echo Open Xcode and generate a macOS Archive for App Store Connect && read && npm run version:!echo5",
"version:!echo5": "echo Open Xcode and generate a macOS Archive for Direct Distribution with default name && read && npm run version:!zip",
"version:!zip": "npm run zip && npm run version:!copy",
"version:!copy": "cp ./apps/android/app/release/app-release.apk ./dist/android.apk && npm run version:!copy2",
"version:!copy2": "cp './dist/ios/Brume Wallet.ipa' ./dist/ios-and-ipados.ipa && npm run version:!script:post",
"version:!script:post": "node ./scripts/postversion2.mjs && npm run version:!git",
"version:!git": "git add . && npm run version:!git2",
"version:!git2": "git update-index --no-assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md && npm run version:!git3",
"version:!git3": "git add --force ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md && npm run version:!git4",
"version:!git4": "git update-index --assume-unchanged ./dist/chrome.zip ./dist/firefox.zip ./dist/website.zip ./dist/android.apk ./dist/ios-and-ipados.ipa ./dist/macos.zip ./dist/.ipfs.md ./dist/.website.ipfs.md",
"clean": "rimraf ./node_modules ./.next ./out ./dist ./website ./chrome ./firefox ./safari ./package-lock.json",
"sync": "PLATFORM=android npx cap sync && PLATFORM=apple npx cap sync",
"lint": "next lint",
Expand Down

0 comments on commit 630d214

Please sign in to comment.