- npm run build: `.env.production.local`, `.env.local`, `.env.production`, `.env`
- npm run ci:build: `.env.production.local`, `.env.local`, `.env.production`, `.env`
All environment variables start with `REACT_APP_` prefix.
...
...
@@ -118,12 +118,6 @@ npm run prettier:fix
will run `npm run prettier -- --write` which will run prettier on all files in the src directory and write out which files have be changed in your console.
```bash
npm run format
```
will run `npm run prettier:fix && npm run lint:fix` which will run lint:fix and the prettier:fix scripts mentioned above.
## [Pre-Commit](https://pre-commit.com/)
### Installation
...
...
@@ -151,7 +145,6 @@ npx cypress open
To run Cypress tests from command line (without the test-dialog), enter
```bash
npx cypress run
```
...
...
@@ -159,7 +152,7 @@ npx cypress run
## Building
```bash
npm run build
npm run ci:build
```
Builds the app for production to the `build` folder.\