@lootlog/sdk 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 ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@lootlog/sdk",
3
+ "version": "0.1.0",
4
+ "description": "Typed HTTP and realtime clients for the Lootlog public API",
5
+ "homepage": "https://developer.lootlog.pl/docs/sdk",
6
+ "bugs": {
7
+ "url": "https://github.com/lootlog/monorepo/issues"
8
+ },
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/lootlog/monorepo.git",
13
+ "directory": "packages/sdk"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "openapi",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "type": "module",
22
+ "sideEffects": false,
23
+ "exports": {
24
+ "./openapi/*.json": "./openapi/*.json",
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js"
28
+ },
29
+ "./main": {
30
+ "types": "./dist/main.d.ts",
31
+ "import": "./dist/main.js"
32
+ },
33
+ "./activity": {
34
+ "types": "./dist/activity.d.ts",
35
+ "import": "./dist/activity.js"
36
+ },
37
+ "./battlelog": {
38
+ "types": "./dist/battlelog.d.ts",
39
+ "import": "./dist/battlelog.js"
40
+ },
41
+ "./search": {
42
+ "types": "./dist/search.d.ts",
43
+ "import": "./dist/search.js"
44
+ },
45
+ "./realtime": {
46
+ "types": "./dist/realtime.d.ts",
47
+ "import": "./dist/realtime.js"
48
+ }
49
+ },
50
+ "publishConfig": {
51
+ "access": "public",
52
+ "registry": "https://registry.npmjs.org"
53
+ },
54
+ "scripts": {
55
+ "build": "tsdown",
56
+ "typecheck": "tsc --noEmit",
57
+ "lint": "oxlint src/*.ts scripts *.ts --deny-warnings",
58
+ "test": "bun test",
59
+ "prepack": "bun run build",
60
+ "client:generate": "bun scripts/generate.ts",
61
+ "client:check": "bun scripts/generate.ts --check",
62
+ "test:package": "bun scripts/check-package.ts"
63
+ },
64
+ "dependencies": {
65
+ "@msgpack/msgpack": "^3.1.3",
66
+ "effect": "4.0.0-rc.112"
67
+ },
68
+ "devDependencies": {
69
+ "@lootlog/client": "workspace:*",
70
+ "@lootlog/protocol": "workspace:*",
71
+ "@lootlog/schema": "workspace:*",
72
+ "@lootlog/typescript-config": "workspace:*",
73
+ "@types/bun": "catalog:",
74
+ "@types/node": "catalog:",
75
+ "orval": "^8.26.0",
76
+ "tsdown": "^0.23.0",
77
+ "typescript": "catalog:",
78
+ "yaml": "catalog:"
79
+ }
80
+ }