From 2a1ee24165a1d5e43c37b529cf35be1b58f75327 Mon Sep 17 00:00:00 2001 From: Eduardo Pires Date: Wed, 24 Apr 2024 15:19:51 -0300 Subject: [PATCH] fix: update readme + build command --- README.md | 8 ++++++++ package.json | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65c1296..0baeaa6 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 395282c..2038ddd 100644 --- a/package.json +++ b/package.json @@ -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", @@ -53,4 +53,4 @@ "@prisma/client": "^5.1.1", "socket.io-client": "^4.5.4" } -} \ No newline at end of file +}