2.0.0 • Published 4 years ago
@veupathdb/react-scripts v2.0.0
== @veupathdb/react-scripts
A wrapper for https://github.com/facebook/create-react-app/tree/master/packages/react-scripts[react-scripts] used for developing VEuPathDB website features.
=== Usage
First, install the package with npm:
source, sh
npm install --save-dev @veupathdb/react-scripts
or with yarn:
source, sh
yarn add -D @veupathdb/react-scripts
Then, optionally add the following script entries to package.json in your repo:
source, json
"scripts": {
"start": "veupathdb-react-scripts start",
"build": "veupathdb-react-scripts build",
"test": "veupathdb-react-scripts test",
"eject": "veupathdb-react-scripts eject",
"compile": "veupathdb-react-scripts compile",
"copy-assets": "veupathdb-react-scripts copy-assets",
"prepare-npm": "veupathdb-react-scripts prepare"
}=== Environment Variables
The following environment variables are used by the start script. They may be
stored in a .env 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 |