@dangerfarms/react-scripts
v2.2.6
Published
Danger Farms customised version of react-scripts
Downloads
15
Keywords
Readme
@dangerfarms/react-scripts
In order to bootstrap a project using these scripts, run npx create-react-app <app-name> --scripts-version @dangerfarms/react-scripts
.
To update the published version of @dangerfarms/react-scripts
, increment the version number in the package.json
file in the same
directory as this README, then, also within the same directory, run npm publish
(or npm publish --access public
if necessary).
Because Husky can only install git hooks once a repo has been initialised, the bootstrapped project will initially have
uncommitted changes to package.json
and yarn.lock
caused by installing Husky after git init
has run. Please commit them.
This package includes scripts and configuration used by Create React App. It has been customised in order to bootstrap Danger Farms projects. These modifications include different implicit and explicit dependencies, bespoke linting, Husky pre-commit hooks and a custom set up of Storybook.
The forked repository containing this package should be kept in sync with the upstream repo. Here are instructions for syncing a fork.
Please refer to the original documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.