> Simplifying repetitive commands to boost developer productivity and save valuable time.
npm install @windduongcorp/wind-cli> Simplifying repetitive commands to boost developer productivity and save valuable time.
[![license][license-img]][license-href]
[![version][version-img]][version-href]
[![download][download-img]][download-href]
[![wind-cli][banner-img]][banner-href]
```
$ npm i -g @windduongcorp/wind-cli
> 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 : Long scripts will be combined into 1 script.
`jsopen -a Terminal "$(pwd)"
{
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: ,``
desc: 'Open Terminal at the current project directory'
}
}
- [Wind][marketplace-href]
![]() Wind Duong |
If you like it, [rate it][rating-href]
[license-img]: https://img.shields.io/npm/l/@windduongcorp/wind-cli
[license-href]: https://github.com/your-org/your-repo/blob/main/LICENSE
[version-img]: https://img.shields.io/npm/v/@windduongcorp/wind-cli
[version-href]: https://www.npmjs.com/package/@windduongcorp/wind-cli
[download-img]: https://img.shields.io/npm/dm/@windduongcorp/wind-cli
[download-href]: https://www.npmjs.com/package/@windduongcorp/wind-cli
[banner-img]: https://i.imgur.com/vdZqIqV.png
[banner-href]: https://imgur.com/vdZqIqV
[rating-href]: https://marketplace.visualstudio.com/items?itemName=windduongcorp.wind&ssr=false#review-details
[marketplace-href]: https://marketplace.visualstudio.com/items?itemName=windduongcorp.wind&ssr=false#overview