Updated readme to use bun

This commit is contained in:
2026-03-10 16:00:16 -05:00
parent 8ea9b55a13
commit 806ebad1c3
+27 -8
View File
@@ -1,28 +1,47 @@
## Usage ## Usage
```bash ```bash
$ npm install # or pnpm install or yarn install $ bun install
``` ```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs) ### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
---
## Available Scripts ## Available Scripts
In the project directory, you can run: In the project directory, you can run:
### `npm run dev` ### `bun dev`
Runs the app in the development mode.
Open [http://localhost:5173](https://www.google.com/search?q=http://localhost:5173) to view it in the browser.
### `bun run build`
Builds the app for production to the `dist` folder.
Runs the app in the development mode.<br>
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
### `npm run build`
Builds the app for production to the `dist` folder.<br>
It correctly bundles Solid in production mode and optimizes the build for the best performance. It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br> The build is minified and the filenames include the hashes.
Your app is ready to be deployed! Your app is ready to be deployed!
## Deployment ## Deployment
Learn more about deploying your application with the [documentations](https://vite.dev/guide/static-deploy.html) Learn more about deploying your application with the [Vite documentation](https://vite.dev/guide/static-deploy.html).
---
Would you like me to also generate a `bunfig.toml` file to help customize your Bun runtime settings for this project?