This starter has a basic setup for
- webpack
- ESLint with
xo
style guide - prettier for CSS linting. I am including the 'standard configuration' with some additional rules to keep things alphabetical, indented with
2
spaces, etc. husky
will check over code quality with the linters b4 there is a successfulcommit
.netlify.toml
postcss.config.js
robots.txt
.babelrc
.vscode/extensions.json
(Recommended extensions)- redux toolkit
- an email form with EmailJS
- image optimization and conversion to Webp using
sharp
bootstrap
react-router
react-helmet
- purgecss
- page header
- page footer
- social media share buttons
- a carousel
Use of this starter template assumes that you have a 'complete dev environment' setup - a terminal, Node, VS Code, at least. If not, you may want to start here.
All new images must be converted inside ./convert.js
.
npm
must be restarted in development mode for the new images to be converted
Run npm i
to get all the things installed.
npm start
serve
must be installed with npm install -g serve
After serve is installed you can build with
npm run-script build
and then serve this build with
npm run-script serve