create-react-native-init-app 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/bin/index.js +75 -0
- package/package.json +63 -0
- package/scripts/build.ts +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# React Native Init App
|
|
2
|
+
|
|
3
|
+
Interactive CLI tool to scaffold React Native projects with Clean Architecture.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### Using npx (recommended)
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx react-native-init-app
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Using bunx
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bunx react-native-init-app
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Using npm
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm create react-native-init-app
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Using the short alias
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
rnia
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Features
|
|
32
|
+
|
|
33
|
+
- ๐ **Scaffold** - Create new React Native project from template
|
|
34
|
+
- ๐งน **Clean** - Clean caches and build folders (Android, iOS, Node Modules, Watchman)
|
|
35
|
+
- ๐ฆ **Pod Install** - Install CocoaPods dependencies
|
|
36
|
+
- ๐ค **Run Android** - Run app on Android device/emulator
|
|
37
|
+
- ๐ฅ **Downloads template** from GitHub automatically
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Interactive mode
|
|
43
|
+
npx react-native-init-app
|
|
44
|
+
|
|
45
|
+
# Short alias
|
|
46
|
+
rnia
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Requirements
|
|
50
|
+
|
|
51
|
+
- Node.js >= 18.0.0
|
|
52
|
+
- Bun (optional, for faster execution)
|
|
53
|
+
|
|
54
|
+
## Template
|
|
55
|
+
|
|
56
|
+
The CLI downloads the latest template from:
|
|
57
|
+
|
|
58
|
+
- GitHub: [CrisangerA/react-native-template](https://github.com/CrisangerA/react-native-template)
|
|
59
|
+
- Branch: `main`
|
|
60
|
+
|
|
61
|
+
## Commands
|
|
62
|
+
|
|
63
|
+
| Command | Description |
|
|
64
|
+
| ----------- | -------------------------------------------------------- |
|
|
65
|
+
| scaffold | Create new project from template |
|
|
66
|
+
| clean | Clean caches (Android, iOS, Node Modules, Watchman, All) |
|
|
67
|
+
| pod-install | Install CocoaPods dependencies |
|
|
68
|
+
| run-android | Run app on Android |
|
|
69
|
+
| version | Show CLI version |
|
|
70
|
+
| help | Show help |
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
MIT
|