mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
docs: re-apply many recent changes that somehow aren't present (#24719)
lots of recent changes aren't present, so this reapplies them
This commit is contained in:
@@ -219,16 +219,21 @@ Build a minimal HTTP server with `Bun.serve`, run it locally, then evolve it by
|
||||
|
||||
Bun can also execute `"scripts"` from your `package.json`. Add the following script:
|
||||
|
||||
{/* prettier-ignore */}
|
||||
```json package.json icon="file-code"
|
||||
{
|
||||
"name": "quickstart",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "bun run index.ts"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": { // [!code ++]
|
||||
"start": "bun run index.ts" // [!code ++]
|
||||
}, // [!code ++]
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user