This boilerplate introduces a simple way for developing serverless React applications, which are perfect for serving from Github Pages.
git clone https://github.com/rtivital/react-pages-boilerplateor download this repository.
nvm use. This will ensure that you are running the supported version of Node.js. You can nvm installation instructions here.
settings.js file includes all important settings that should be used to setup deployments to gh-pages:
npm start– starts development server with webpack-dev-server
npm test– runs tests with Jest
npm run build– builds project to production
npm run deploy– builds and deploys project to Github pages
npm run prettier– format js and jsx files with prettier
See releases section to get information about new cool features added to the project.