A toolkit for scaffolding react and react native projects and components
Why Glamper?
Glamper is software that bootstraps both React Native and React Web projects. The projects that Glamper produces are highly opinionated in the way of dependencies and overall project structure, so that you can make less decisions. With React Native specifically, using Glamper can make adding native modules for both iOS and Android as easy as taking a nap in a cozy, space-heated luxury camping Yurt in the middle of a snowy forest.
The choices that Glamper makes for you come from years of battle-testing with many different ways of doing things on a plethora of React Web and React Native projects. Glamper is also incredibly fun to use.
What does Glamper include in a project?
All projects
- React (duh)
- Typescript
- Axios
- Redux
- Thunk
- Jest
- A well thought out file structure
React-Native projects
- react-native-navigation
- iOS project and build template files
- Android project and build template files
React Web
- immer
- react-router
- react-router-dom
- aphrodite
Installation
Globally install this Library.
yarn global add glamper
You will now have access to the glamper
global command.
Creating a Project
Creating a project takes one simple command.
glamper generate
This will guide you through creating a project with the directory name of your choice.
Starting the Project
- Change directories to the project.
cd <name-of-project>
-
Follow any specific setup on the project's README
-
Run the yarn install and then
yarn start
yarnyarn start
How can I make Glamper better?
Fork the project, and make a PR! Here's a list of the following things we want to see eventually in this project:
- Fastlane Configuration Templating
- Built-in CI/CD Configuration
- Non-interactive CLI mode