tool: add spacetimedb

This commit is contained in:
2026-04-13 00:27:24 -07:00
parent fde245058e
commit b1a769c84d
20 changed files with 441 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/lib/st-bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud",
"lint": "prettier --check .",
"format": "prettier --write .",
"deploy": "bun run build && wrangler deploy",
@@ -25,6 +28,7 @@
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.4.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"spacetimedb": "^2.1.0",
"svelte": "^5.51.0",
"svelte-check": "^4.4.2",
"tailwindcss": "^4.1.18",