Skip to content

Commit

Permalink
Update readme and npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-bell committed Feb 25, 2024
1 parent 4cd2f7c commit 0dafa6d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ automatically connect to the town with the friendly name "DEBUG_TOWN" (creating

### Running the frontend

In the `frontend` directory, run `npm run dev` (again, you'll need to run `npm install` the very first time). After several moments (or minutes, depending on the speed of your machine), a browser will open with the frontend running locally.
In the `frontend` directory, run `npm start` (again, you'll need to run `npm install` the very first time). After several moments (or minutes, depending on the speed of your machine), a browser will open with the frontend running locally.
The frontend will automatically re-compile and reload in your browser if you change any files in the `frontend/src` directory.
13 changes: 13 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
},
"scripts": {
"prestart": "npm run client",
"start": "next start",
"start": "next dev",
"build": "next build",
"export": "next export",
"dev": "next dev",
"serve": "next start",
"test": "cross-env DEBUG_PRINT_LIMIT=0 jest",
"test-watch": "jest --watch",
"eject": "react-scripts eject",
Expand Down Expand Up @@ -92,6 +92,7 @@
"@stryker-mutator/typescript-checker": "^6.1.2",
"@testing-library/react": "^12.1.0",
"@testing-library/user-event": "^14.2.1",
"@types/assert": "^1.5.10",
"@types/linkify-it": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"eslint-config-airbnb-typescript": "^17.0.0",
Expand Down

0 comments on commit 0dafa6d

Please sign in to comment.