A better project setup
Have you found yourself copy/pasting configuration from old projects when creating a new one?
The main idea behind create-strv-app
is to solve this issue by providing a unified and fast way on how to create new projects with consistent and up-to-date configuration with the best practices.
It will also be highly beneficial for people switching projects.
To use always the most up to date version:
npm
npx create-strv-app
yarn
yarn create strv-app
and follow the instructions.
Project helps you to create these types of apps:
- single-page applications
- based on strv-react-scripts
- server-side rendered applications
- based on Next.js
To be done:
All projects include same code quality tools, which should not be changed:
- ESlint with STRV's eslint-config
- Prettier
- Pre-commit hook
And with optional setup:
- styled-components
- Flow
- Firebase deploy
- Heroku
If you don't agree with any setup, don't change it and rather open an issue.
TBD:
- CI
- Advanced templates
The project is aimed to be easily extendible. So if you have any idea how to improve it, don't hesistate to open an issue to improve the developer experience for the whole team.
Each application type includes a default
template, which is bare minimum and could be expanded by providing a with-*
template, which should only include additional files*.
*Files with same name will be overwritten.
MIT