create-three-bun-ox 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -1
  3. package/server.ts +2 -0
package/README.md CHANGED
@@ -28,10 +28,10 @@ bun run dev
28
28
 
29
29
  The server listens on `PORT` if it is set, otherwise it uses `3000`.
30
30
 
31
- If you publish this package to npm as `create-three-bun-ox`, users can scaffold it with:
31
+ Quickstart:
32
32
 
33
33
  ```bash
34
- bun create create-three-bun-ox my-app
34
+ bun create three-bun-ox
35
35
  ```
36
36
 
37
37
  You can also use the GitHub repo directly:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-three-bun-ox",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "A minimal Bun + Three.js template with oxlint and oxfmt.",
5
5
  "homepage": "https://github.com/spinualexandru/create-three-bun-ox#readme",
6
6
  "bugs": {
@@ -12,6 +12,9 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/spinualexandru/create-three-bun-ox.git"
14
14
  },
15
+ "bin": {
16
+ "three-bun-ox": "./server.ts"
17
+ },
15
18
  "files": [
16
19
  "README.md",
17
20
  "index.html",
package/server.ts CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env bun
2
+
1
3
  import index from "./index.html";
2
4
 
3
5
  const server = Bun.serve({