Opinionated Significa's bootstrap CLI to start ReactJS projects based on NextJS, React Native, Create React App, or GatsbyJS.
npx @significa/start
You can also skip the prompt and give it the configuration you want:
- Project type: may be one of these options;
cra
: Create React App;next
: Next.js;gatsby
: GatsbyJS;react-native
: React Native (Expo - bare workflow);
- Project name: will be used on the folder name and configuration files;
Eg: npx @significa/start@latest next hello-world
.
- Regular:
npx @significa/start
; - Shortcut:
npx @significa/start [project] [name]
; - Help:
npx @significa/start --help
; - Version:
npx @significa/start --version
;
- Typescript;
- Commitlint;
- Lint-staged;
- @significa/eslint-config;
- @significa/prettier-config;
- @significa/tsconfig-config;
Run npm link
in the directory.
Use the CLI as significa-start
anywhere.