mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-07-07 00:43:55 -04:00
b6b072e3a1
# Description of Changes Add a small Hangman demo as one of our templates. One single game for all players at once to keep the design small. - TypeScript module - Simple React front-end # API and ABI breaking changes N/A # Expected complexity level and risk 1 - Added a small template # Testing - [x] Ran through `spacetime init` against local
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "@clockworklabs/hangman-react-ts",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"format": "prettier . --write --ignore-path ../../.prettierignore",
|
|
"lint": "eslint . && prettier . --check --ignore-path ../../.prettierignore",
|
|
"preview": "vite preview",
|
|
"generate": "cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
|
|
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
|
|
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
|
|
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
|
|
},
|
|
"dependencies": {
|
|
"spacetimedb": "workspace:*",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.17.0",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@vitejs/plugin-react": "^5.0.2",
|
|
"eslint": "^9.17.0",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
"globals": "^15.14.0",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "~5.6.2",
|
|
"typescript-eslint": "^8.18.2",
|
|
"vite": "^7.1.5"
|
|
}
|
|
}
|