An example project for teaching build configuration with React.
To install use:
npm installTo run the test suite use:
npm test
Tests also run on git push.
To run the site use:
npm startTo build a deployable version use:
npm run buildTo check the code style with ESLint run:
npm run lintESLint linting also runs on git commit.
To check the code style with ESLint run:
npm run lintPrettier formatting also runs on git push.
To check TypeScript use:
npm run ts
This doesn't generate any TypeScript definitions, when the build runs it will run this check as well as generating the definition files.