open-index/open-npm huggingface dataset:
npm package: @pointpack/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.1.8

# React scripts

## Install

```sh
npm install @pointpack/react-scripts
```

## Usage

In addition to standard `react-scripts` usage it supports following flags:

* `--port` sets desired port,
* `--theme` changes following things:
  * `build/` directory changes to `build/THEME/`,
  * `public/` directory changes to `public/THEME/`,
  * importing `index.js` imports `index.THEME.js` or `index.js`.

```sh
npx react-scripts start --port PORT --theme THEME
```

## Contribute

Before any chnages it's good to update to newest version from Facebook's repository. All current changes can be found in `config/paths.js` and `scripts/test.js`.

### Update `react-scripts`

```sh
git pull https://github.com/facebook/create-react-app.git
```

### Publish

```sh
cd packages/react-scripts

npm version patch --no-git-tag-version

cd ../..

git add .
git commit -m "New version"
git push

cd packages/react-scripts

npm publish
```