@reopt-ai/data-sdk-client 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,79 @@
1
+ {
2
+ "name": "@reopt-ai/data-sdk-client",
3
+ "version": "0.1.0",
4
+ "description": "reopt-data browser SDK — vanilla, React and Next.js App Router client components",
5
+ "sideEffects": false,
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/reopt-ai/reopt-data.git",
10
+ "directory": "packages/data-sdk-client"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "registry": "https://registry.npmjs.org",
15
+ "@reopt-ai:registry": "https://registry.npmjs.org"
16
+ },
17
+ "type": "module",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/index.cjs"
23
+ },
24
+ "./react": {
25
+ "types": "./dist/react.d.ts",
26
+ "import": "./dist/react.js",
27
+ "require": "./dist/react.cjs"
28
+ },
29
+ "./next": {
30
+ "types": "./dist/next.d.ts",
31
+ "import": "./dist/next.js",
32
+ "require": "./dist/next.cjs"
33
+ }
34
+ },
35
+ "main": "./dist/index.cjs",
36
+ "module": "./dist/index.js",
37
+ "types": "./dist/index.d.ts",
38
+ "files": [
39
+ "dist"
40
+ ],
41
+ "peerDependencies": {
42
+ "next": ">=14.0.0",
43
+ "react": ">=18.0.0"
44
+ },
45
+ "peerDependenciesMeta": {
46
+ "react": {
47
+ "optional": true
48
+ },
49
+ "next": {
50
+ "optional": true
51
+ }
52
+ },
53
+ "dependencies": {
54
+ "@reopt-ai/data-sdk-core": "0.0.0",
55
+ "@reopt-ai/data-contract": "0.6.0"
56
+ },
57
+ "devDependencies": {
58
+ "@testing-library/react": "^16.3.2",
59
+ "@types/node": "^22.20.1",
60
+ "@types/react": "^19.2.18",
61
+ "jsdom": "^30.0.1",
62
+ "next": "16.3.2",
63
+ "react": "^19.2.8",
64
+ "tsup": "^8.5.1",
65
+ "typescript": "^5.9.3",
66
+ "vitest": "^4.1.11",
67
+ "@repo/typescript-config": "0.0.0"
68
+ },
69
+ "scripts": {
70
+ "build": "tsup && pnpm run check:dist && pnpm run check:size",
71
+ "check-types": "tsc --noEmit",
72
+ "dev": "tsup --watch",
73
+ "lint": "oxlint .",
74
+ "test": "vitest run",
75
+ "test:watch": "vitest",
76
+ "check:dist": "node ../../scripts/check-dist-guards.mjs data-sdk-client",
77
+ "check:size": "node scripts/check-size.mjs"
78
+ }
79
+ }