Skip to content

package.json

66 lines · 2.0 KB · JSON
Raw
{
	"name": "@kentcdodds/world-builder",
	"version": "0.1.0",
	"private": true,
	"license": "MIT",
	"type": "module",
	"description": "A shared 3D voxel world that people and their AI agents build together, synced live with PowerSync.",
	"exports": {
		".": "./src/index.ts",
		"./list-worlds": "./src/list-worlds.ts",
		"./create-world": "./src/create-world.ts",
		"./describe-world": "./src/describe-world.ts",
		"./start-build": "./src/start-build.ts",
		"./place-blocks": "./src/place-blocks.ts",
		"./remove-blocks": "./src/remove-blocks.ts",
		"./finish-build": "./src/finish-build.ts",
		"./build-demo-castle": "./src/build-demo-castle.ts"
	},
	"devDependencies": {
		"@types/react": "^19.3.0",
		"@types/react-dom": "^19.3.0",
		"@types/three": "^0.186.0",
		"esbuild": "^0.25.12",
		"typescript": "^5.9.0",
		"@powersync/common": "2.3.1",
		"@powersync/react": "2.0.2",
		"@powersync/shared-internals": "1.3.1",
		"@powersync/web": "2.4.2",
		"@react-three/fiber": "9.8.2",
		"react": "19.3.0",
		"react-dom": "19.3.0",
		"three": "0.186.1"
	},
	"kody": {
		"id": "world-builder",
		"description": "Build a shared 3D voxel world with friends and your AI agents, live.",
		"category": "apps",
		"tags": [
			"powersync",
			"voxel",
			"3d",
			"multiplayer",
			"agents",
			"realtime",
			"three.js",
			"app"
		],
		"searchText": "world builder voxel minecraft blocks 3d multiplayer collaborative agents claude chatgpt grok build castle powersync sync realtime three.js",
		"app": {
			"entry": "./app/server.ts",
			"assets": "./public"
		},
		"credentials": {
			"neon-postgres": {
				"description": "Write placed and removed blocks, builds, and players to the world database (Neon Postgres over HTTPS)"
			},
			"powersync-jwt": {
				"kind": "signing",
				"description": "Sign 5-minute PowerSync tokens so browsers can sync the world"
			}
		}
	},
	"scripts": {
		"build:client": "esbuild app/client/main.tsx --bundle --minify --format=esm --target=es2022 --outfile=public/client/main.js --define:process.env.NODE_ENV='\"production\"'"
	}
}