@loova/game-sdk 0.1.0-alpha.1

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 ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@loova/game-sdk",
3
+ "version": "0.1.0-alpha.1",
4
+ "description": "Browser multiplayer SDK for games generated by Loova AI Agent",
5
+ "keywords": [
6
+ "loova",
7
+ "game",
8
+ "multiplayer",
9
+ "realtime",
10
+ "websocket",
11
+ "protobuf",
12
+ "browser",
13
+ "typescript"
14
+ ],
15
+ "author": "Loova AI",
16
+ "license": "UNLICENSED",
17
+ "private": false,
18
+ "type": "module",
19
+ "sideEffects": false,
20
+ "files": [
21
+ "dist",
22
+ "README.md"
23
+ ],
24
+ "main": "./dist/index.js",
25
+ "module": "./dist/index.js",
26
+ "browser": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ }
33
+ },
34
+ "scripts": {
35
+ "build": "tsc -p tsconfig.json",
36
+ "check": "tsc -p tsconfig.json --noEmit",
37
+ "demo:build": "tsc -p tsconfig.demo.json",
38
+ "prepack": "npm run build",
39
+ "prepublishOnly": "npm run check && npm run test:coverage",
40
+ "proto": "buf generate",
41
+ "release:alpha": "npm publish --tag alpha",
42
+ "release:dry-run": "npm publish --dry-run --tag alpha",
43
+ "test": "vitest run",
44
+ "test:coverage": "vitest run --coverage"
45
+ },
46
+ "engines": {
47
+ "node": ">=20",
48
+ "npm": ">=10"
49
+ },
50
+ "packageManager": "npm@11.11.0",
51
+ "publishConfig": {
52
+ "access": "public",
53
+ "registry": "https://registry.npmjs.org/"
54
+ },
55
+ "loova": {
56
+ "protocolVersion": 1,
57
+ "simulationProfiles": [
58
+ "authoritative-shooter-v1"
59
+ ],
60
+ "runtime": "browser"
61
+ },
62
+ "dependencies": {
63
+ "@bufbuild/protobuf": "2.12.1"
64
+ },
65
+ "devDependencies": {
66
+ "@bufbuild/buf": "1.72.0",
67
+ "@bufbuild/protoc-gen-es": "2.12.1",
68
+ "@vitest/coverage-v8": "3.2.4",
69
+ "typescript": "5.8.3",
70
+ "vitest": "3.2.4"
71
+ }
72
+ }