backpack-react-scripts
This package is a fork of Create React App (specifically the react-scripts
package). It's intended
to be used in conjuction with create-react-app
like so:
npm install -g create-react-app
create-react-app my-app --scripts-version=backpack-react-scripts
cd my-app
npm start
Why fork?
Out of the box, create-react-app
doesn't work well with Backpack components because it has no support for
Sass stylesheets or uncompiled dependencies in the node_modules
folder. We also want to be able to tailor
the template to use Backpack out-the-box.
Keeping this fork updated
We wish to keep this fork updated with the upstream repo to benefit from the ongoing open source development
of create-react-app
. Please follow the steps outlined in this guide to keep this fork up to date e.g:
git remote add upstream git@github.com:facebookincubator/create-react-app.git
git fetch upstream
git rebase upstream/master
You will most likely run into merge conflicts during this process. If so, please take care to fix them whilst
preserving the custom functionality we have added in the fork.
Releasing a new version of backpack-react-scripts
Please refer to the CONTRIBUTING.md in the root of this repo. All other packages have had their
package.json
's modified to be private therefore they won't be published to the npm registry.