Use this tool to get up and running fast with configs and more in your project.
The tool currently supports creating React apps (using create-react-app
) and ReasonReact apps. It can also create some basic configs in your project.
Built with ❤️ by @Jimjardland and @believer.
Installation
npx @iteam/supreme
or
npm install -g @iteam/supreme
After that you'll have supreme
as a global command to use in a repository of your choice.
Commands
init
- Initializes empty Git repository and adds a
.gitignore
- Installs
prettier
and creates config - Installs
jest
- Creates an
.nvmrc
with the current Node version
add <command>
Add one of the configs/packages created by init
. Valid commands are
export type Command =
| 'gitignore'
| 'git'
| 'jest'
| 'nvm'
| 'nvmrc'
| 'prettier'
react <name> [flags]
Creates a React app using create-react-app
with the provided name.
Supported flags:
--typescript
- create a Typescript React app
reason <name>
Creates a ReasonReact app using bsb
and customizes the app with our preferred
defaults.