@piouson/cra-template-ans

ANS AppDev template with eslint (airbnb), prettier, reactrouter, material-ui, githooks, enzyme and axe

Usage no npm install needed!

<script type="module">
  import piousonCraTemplateAns from 'https://cdn.skypack.dev/@piouson/cra-template-ans';
</script>

README

Create-React-App Template

This is a base template for a medium sized React app built for ANS AppDev team.

For more information, please refer to how to create custom Create React App templates.

Usage

# remotely
npx create-react-app webapp --template @piouson/cra-template-ans
# or locally
npx create-react-app webapp --template file:../path/to/cra-template-ans
# then add husky for githooks
yarn add --dev husky@4.3.8 # npm i -D husky@4.3.8

See Create React App discussion for why husky is not triggering githooks unless re-added.

Ignore console warnings has unmet peer dependency for ESLint, there is no need to add ESLint package separately cos we are using the ESLint bundled with React-Scripts. Thus only plugins and configs were added.

Dependencies Added

Dev Dependencies Added