bun in readme

This commit is contained in:
BeGj
2025-03-07 15:54:01 +00:00
parent 4d0fc345c0
commit c06abe261b
+6 -7
View File
@@ -24,8 +24,7 @@ This is a fork/rewrite of WarFront.io. Credit to https://github.com/WarFrontIO.
## 📋 Prerequisites
- [Node.js](https://nodejs.org/) (v16.x or higher)
- [npm](https://www.npmjs.com/) (v8.x or higher)
- [Bun.js](https://bun.sh/) (v1.2.4 or higher)
- A modern web browser (Chrome, Firefox, Edge, etc.)
## 🚀 Installation
@@ -40,7 +39,7 @@ This is a fork/rewrite of WarFront.io. Credit to https://github.com/WarFrontIO.
2. **Install dependencies**
```bash
npm install
bun i
```
## 🎮 Running the Game
@@ -50,7 +49,7 @@ This is a fork/rewrite of WarFront.io. Credit to https://github.com/WarFrontIO.
Run both the client and server in development mode with live reloading:
```bash
npm run dev
bun run dev
```
This will:
@@ -64,7 +63,7 @@ This will:
To run just the client with hot reloading:
```bash
npm run start:client
bun run start:client
```
### Server Only
@@ -72,14 +71,14 @@ npm run start:client
To run just the server with development settings:
```bash
npm run start:server-dev
bun run start:server-dev
```
## 🛠️ Development Tools
- **Format code**:
```bash
npm run format
bun run format
```
## 🏗️ Project Structure