best-mobile
v1.0.0
Published
The Best ReactNative Cli Made by King Jethro
Readme
Mobile App Project Creator CLI
A powerful CLI tool for creating modern mobile applications with React Native. This tool helps you quickly scaffold mobile projects with best practices, essential dependencies, and popular libraries.
Features
📱 Project Templates
- React Native (Default)
- Expo
- Bare Workflow
- TypeScript Support
🎨 UI Libraries
- React Native Paper
- Native Base
- React Native Elements
- Custom UI Components
📦 Essential Features
- Navigation Setup
- State Management
- API Integration
- Local Storage
- Push Notifications
🛠️ Development Tools
- TypeScript Configuration
- ESLint & Prettier
- Testing Setup
- Git Integration
- CI/CD Templates
Installation
npm install -g best-web-cliUsage
Create a new mobile application:
best create my-appOptions:
-t, --template <template>- Choose template (default, expo, typescript)-p, --package-manager <manager>- Specify package manager (npm, yarn)--skip-git- Skip Git initialization-v, --verbose- Enable verbose logging
Project Structure
The CLI creates a well-organized project structure:
my-app/
├── src/
│ ├── components/
│ ├── screens/
│ ├── navigation/
│ ├── services/
│ ├── store/
│ └── utils/
├── assets/
├── tests/
└── config/Configuration
Customize your development environment through:
- Metro configuration
- Babel plugins
- TypeScript settings
- ESLint rules
- Environment variables
Available Scripts
npm start- Start the Metro bundlernpm run android- Run on Androidnpm run ios- Run on iOSnpm test- Run testsnpm run lint- Check code style
Troubleshooting
Build Issues
- Clean and rebuild project
- Check React Native environment setup
- Verify Android/iOS development environment
Dependency Errors
- Clear npm/yarn cache
- Delete node_modules and reinstall
- Check package version compatibility
Device Connection
- Enable USB debugging (Android)
- Trust computer (iOS)
- Check ADB connection
Contributing
Contributions are welcome! Please read our contributing guidelines for details.
License
MIT
Author
King Jethro
