You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,15 +167,15 @@ The backend is written in Go. You can use the following commands to manage the d
167
167
168
168
### Frontend
169
169
170
-
The frontend is written with TypeScript and React. You can use the following commands to manage the development lifecycle:
171
-
172
-
- `yarn install`: install the dependencies
173
-
- `yarn start`: start the frontend in development mode, with live reload
174
-
- `yarn build`: generate the transpiled and minified files and assets
175
-
- `yarn lint`: run static analysis on the code
176
-
- `yarn format`: automatically format the frontend code
177
-
- `yarn test`: execute unit tests
178
-
- `yarn test:watch`: execute unit tests, with live reload
170
+
The frontend is written with TypeScript and React, bundled with Vite. You can use the following commands to manage the development lifecycle:
171
+
172
+
- `npm install`: install the dependencies
173
+
- `npm run dev`: start the Vite dev server with hot reload. It proxies the admin API to the backend, so run `make start` alongside it (override the target with `SMOCKER_DEV_PROXY` if the backend is elsewhere)
174
+
- `npm run build`: generate the transpiled and minified files and assets
175
+
- `npm run lint`: run static analysis on the code
176
+
- `npm run format`: automatically format the frontend code
177
+
- `npm test`: execute unit tests
178
+
- `npm run test:watch`: execute unit tests, with live reload
0 commit comments