Add command in README

This commit is contained in:
Lim Chee Aun 2023-01-17 15:10:55 +08:00
parent cf0cf27283
commit b58bdb820a

View file

@ -55,6 +55,7 @@ Prerequisites: Node.js 18+
- `npm run preview` - Preview the production build - `npm run preview` - Preview the production build
- `npm run fetch-instances` - Fetch instances list from [instances.social](https://instances.social/), save it to `src/data/instances.json` - `npm run fetch-instances` - Fetch instances list from [instances.social](https://instances.social/), save it to `src/data/instances.json`
- requires `.env.dev` file with `INSTANCES_SOCIAL_SECRET_TOKEN` variable set - requires `.env.dev` file with `INSTANCES_SOCIAL_SECRET_TOKEN` variable set
- `npm run sourcemap` - Run `source-map-explorer` on the production build
## Tech stack ## Tech stack