Skip to content

Commit

Permalink
fix: update readme + build command
Browse files Browse the repository at this point in the history
  • Loading branch information
JoKenPo committed Apr 24, 2024
1 parent 35a56ce commit 2a1ee24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ Open [http://localhost:4003](http://localhost:4003) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm run build`

Build the Next front-end

### `npm run web`

Runs the front-end [http://localhost:3000](http://localhost:3000)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"server": "npm start -w @fakerepo/server",
"web": "npm start -w @fakerepo/web",
"build": "next build -w @fakerepo/web",
"build": "npm run build -w @fakerepo/web",
"dev:server": "npm run dev -w @fakerepo/server",
"dev:web": "npm run dev -w @fakerepo/web",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down Expand Up @@ -53,4 +53,4 @@
"@prisma/client": "^5.1.1",
"socket.io-client": "^4.5.4"
}
}
}

0 comments on commit 2a1ee24

Please sign in to comment.