README
@veupathdb/react-scripts
A wrapper for react-scripts used for developing VEuPathDB website features.
Usage
First, install the package with npm:
npm install --save-dev @veupathdb/react-scripts
or with yarn:
yarn add -D @veupathdb/react-scripts
Then, optionally add the following script
entries to package.json
in your repo:
"scripts": {
"start": "veupathdb-react-scripts start",
"build": "veupathdb-react-scripts build",
"test": "veupathdb-react-scripts test",
"eject": "veupathdb-react-scripts eject"
}
Environment Variables
The following environment variables are used by the start
script. They may be
stored in a .env.local
file located at the project root, or defined in other
standard ways.
Variable name | Description | Optional / Required |
---|---|---|
VEUPATHDB_LOGIN_USER |
VEuPathDB BRC Pre-Release user nanme | optional |
VEUPATHDB_LOGIN_PASS |
VEuPathDB BRC Pre-Release password | optional |