@wordbombio/sdk 0.0.0-stage → 0.1.0

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.
package/package.json CHANGED
@@ -1,6 +1,64 @@
1
1
  {
2
2
  "name": "@wordbombio/sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Build official bots for Word Bomb with a bot key",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "AGENTS.md"
25
+ ],
26
+ "engines": {
27
+ "node": ">=22.9"
28
+ },
29
+ "scripts": {
30
+ "prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
31
+ "build": "tsup",
32
+ "typecheck": "tsc --noEmit",
33
+ "example": "node --env-file-if-exists=.env --import tsx examples/autoplayer.ts",
34
+ "example:chat": "node --env-file-if-exists=.env --import tsx examples/chatbot.ts",
35
+ "example:tracker": "node --env-file-if-exists=.env --import tsx examples/tracker.ts",
36
+ "example:hyphens": "node --env-file-if-exists=.env --import tsx examples/hyphen-champion.ts",
37
+ "mcp": "tsx src/cli.ts mcp",
38
+ "prepublishOnly": "npm run typecheck && npm run build"
39
+ },
40
+ "keywords": [
41
+ "wordbomb",
42
+ "word bomb",
43
+ "bot",
44
+ "mcp",
45
+ "sdk"
46
+ ],
47
+ "dependencies": {
48
+ "@colyseus/sdk": "^0.18.2",
49
+ "msgpackr": "^2.0.1"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^22.8.4",
53
+ "tsup": "^8.3.5",
54
+ "tsx": "^4.19.2",
55
+ "typescript": "^5.9.0"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "bin": {
61
+ "wordbomb": "dist/cli.js"
62
+ },
63
+ "license": "MIT"
64
+ }