@windduongcorp/wind-cli
v0.0.6
Published
> Simplifying repetitive commands to boost developer productivity and save valuable time.
Readme
wind-cli ⛳
Simplifying repetitive commands to boost developer productivity and save valuable time.
Install
$ npm i -g @windduongcorp/wind-cliAPI
simulator: Open virtual machines installed on the computer
rn: Some snippet for react native
update: Update versionCode, versionName for Android and CURRENT_PROJECT_VERSION, MARKETING_VERSION for IOSinstall: Choose a simulator to install react native app
alias--name|-n <name>: Long scripts will be combined into 1 script.
{
rn_start: {
cmd: 'npx react-native start',
desc: 'Start the Metro bundler for React Native'
},
rn_start_android: {
cmd: 'npx react-native run-android',
desc: 'Run the Android app on a connected device or emulator'
},
rn_start_ios: {
cmd: 'npx react-native run-ios',
desc: 'Run the iOS app (no specific device specified)'
},
yarn_clear: {
cmd: 'watchman watch-del-all && rm -rf yarn.lock package-lock.json node_modules ios/Pods ios/Podfile.lock android/app/build && yarn install && cd ios && pod update && cd ..',
desc: 'Clean project and reinstall dependencies using Yarn'
},
pnpm_clear: {
cmd: 'watchman watch-del-all && rm -rf yarn.lock package-lock.json node_modules ios/Pods ios/Podfile.lock android/app/build && pnpm install && cd ios && pod update && cd ..',
desc: 'Clean project and reinstall dependencies using PNPM'
},
postinstall: {
cmd: 'cd ios && pod install && cd ..',
desc: 'Install iOS CocoaPods dependencies'
},
yarn_postinstall: {
cmd: 'yarn && cd ios && pod install && cd ..',
desc: 'Install project dependencies with Yarn and install iOS pods'
},
pnpm_postinstall: {
cmd: 'pnpm install && cd ios && pod install && cd ..',
desc: 'Install project dependencies with PNPM and install iOS pods'
},
release_android: {
cmd: 'cd android && ./gradlew assembleRelease && cd ..',
desc: 'Build the Android release APK'
},
terminal: {
cmd: `open -a Terminal "$(pwd)"`,
desc: 'Open Terminal at the current project directory'
}
}Extension
Owner 🙎♂️
Give five stars 🤩
If you like it, rate it

