0.1.3 • Published 4 years ago
@pschaubroeck/cra-template-bsc-app v0.1.3
cra-template-bsc-app
This create-react-app template adds in standardized eslint
, prettier
, browserlist
settings. As well as lays the groundwork for standardizing unit tests with enzyme
and react-testing-library
.
Installation
Run the following command.
npx create-react-app my-app --template cra-template-bsc-app
Additional Scripts
In the project directory, you can run:
yarn lint
Runs eslint
. It will output issues to the console as well as fix any fixable issues.
yarn lint:build
Runs eslint
. It will output issues to the console.
yarn format
Runs prettier
. It will output issues to the console as well as fix any fixable issues.
yarn format:build
Runs prettier
. It will output issues to the console.
yarn test:coverage
Launches the test runner without the interactive watch mode. Generated code coverage reports will reside in /coverage Generated junit compatible test results will reside in /src/tests/junit.xml