Fix README #1

closed
opened by danabra.mov targeting main from [deleted fork]: fix-readme

There's no npm run schema, I presume npm run schema:prod is what we want.

Changed files
+3 -3
+3 -3
README.md
···
2. **Fetch the GraphQL schema**
```bash
-
npm run schema
```
3. **Generate Relay types**
···
The project connects to the Slices API. To update the schema:
```bash
-
npm run schema
npx relay-compiler
```
···
- `npm run build` - Build for production
- `npm run preview` - Preview production build
- `npm run lint` - Run ESLint
-
- `npm run schema` - Fetch GraphQL schema from production API
## Features in Detail
···
2. **Fetch the GraphQL schema**
```bash
+
npm run schema:prod
```
3. **Generate Relay types**
···
The project connects to the Slices API. To update the schema:
```bash
+
npm run schema:prod
npx relay-compiler
```
···
- `npm run build` - Build for production
- `npm run preview` - Preview production build
- `npm run lint` - Run ESLint
+
- `npm run schema:prod` - Fetch GraphQL schema from production API
## Features in Detail