This package is a fork of the original Create React App, modified with a custom script version (packages/react-scripts
). We changed the configuration to fit our needs. It contains the following features that aren't in the original one:
- Server side rendering
- Code splitting
- CSS modules
- SASS support
- Typescript
- Prettier, lint-staged, husky, stylelint
Usage with create-ueno-app:
npx create-ueno-app cra my-app
or
yarn create ueno-app cra my-app
Alternative setup
If you already have `create-react-app` installed, you won't have to install anything, you'll just have to supply the script version.
create-react-app --scripts-version @ueno/react-scripts my-app
To push a new update of @ueno/react-scripts
to npm use:
yarn lerna publish --scope="@ueno/react-scripts"
To push a new update of @ueno/cra-template
to npm use:
yarn lerna publish --scope="@ueno/cra-template"