expo-ts-init v0.1.2
Welcome to expo-ts-init
expo-ts-initis a small, no dependencies tool that initializes an Expo managed TypeScript React Native application with Redux and React Navigation pre-configured.
Prerequisites
Use other versions at own risk
node >=16.13.0
yarn >=1.22.17
expo-cli >=4.12.1
Installation
assuming node.js is installed on your machine
Install from NPM
npm i expo-ts-init -gInstall from source
git clone https://github.com/sntsabode/expo-ts-initcd expo-ts-initnpm i -gUsage
expo-ts-init MyAppThe expo-ts-init command takes in one argument; the name of the Expo app being generated. This argument will be passed into the call to expo init, meaning a directory with the same name will be created in the current working directory. This directory is your app, and the boilerplate will be written into the same directory.
Running the expo-ts-init command will generate the initial project structure and install the necessary dependencies:
MyApp
├── .expo-shared
├── assets
├── node_modules
├── src
| ├── app
| | ├── hooks
| | | └── redux
| | | └── index.ts
| | ├── reducers
| | | └── dummy
| | | └── index.ts
| | └── store
| | └── index.ts
| ├── components
| | └── Goodluck
| | └── index.tsx
| ├── navigationStack
| | └── index.tsx
| ├── screens
| | └── Home
| | └── index.tsx
| └── styles
| └── index.ts
├── .gitignore
├── app.json
├── App.tsx
├── babel.config.js
├── package.json
├── tsconfig.json
└── yarn.lockOnce it's finished...
cd MyApp
yarn startHappy hacking.
Author
👤 Sihle Masebuku
- Github: @sntsabode
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator