- cra-template scripts
- template-stocky37
- cra-template-stocky37 (generated)
As build
fails if run when the generated template workspaces do not exist yet,
this script aims to run a build that should always succeed.
This is my own personal template and includes the following on top of the base cra-template:
react-router
v6 for routingreact-query
for fetching datajson-server
for mocking JSON APIs locally- allow absolute imports from the
src
directory Dockerfile
s for both development and production use- can pull envvars from
window.env
(set in/config.js
) orprocess.env
eslint
configured with airbnb base and sane defaultsprettier
configured with my own preferred configurationpretty-package-json
configured with defaults for keepingpackage.json
s prettified and deterministically orderedhusky
&lint-staged
configured to runeslint
,prettier
andpretty-package-json
in a pre-commit hook@welldone-software/why-did-you-render
for helping debug rerender issues in development