File size: 1,186 Bytes
313a4a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	"name": "@gradio/client",
	"version": "2.0.0-dev.1",
	"description": "Gradio API client",
	"type": "module",
	"main": "dist/index.js",
	"author": "",
	"license": "ISC",
	"exports": {
		".": {
			"gradio": "./src/index.ts",
			"browser": "./dist/browser.js",
			"import": "./dist/index.js",
			"default": "./dist/index.js"
		},
		"./package.json": "./package.json",
		"./browser.js": "./dist/browser.js"
	},
	"dependencies": {
		"fetch-event-stream": "^0.1.5"
	},
	"devDependencies": {
		"msw": "^2.11.3",
		"typescript": "^5.9.3"
	},
	"scripts": {
		"bundle": "vite build --ssr",
		"bundle:browser": "BROWSER_BUILD=true vite build",
		"generate_types": "tsc",
		"clean": "rm -rf dist",
		"build": "pnpm clean && pnpm bundle && pnpm bundle:browser && pnpm generate_types",
		"test": "pnpm test:client && pnpm test:client:node",
		"test:client": "vitest run -c vite.config.js",
		"test:client:node": "TEST_MODE=node vitest run -c vite.config.js",
		"preview:browser": "vite dev --mode=preview"
	},
	"engines": {
		"node": ">=18.0.0"
	},
	"main_changeset": true,
	"repository": {
		"type": "git",
		"url": "git+https://github.com/gradio-app/gradio.git",
		"directory": "client/js"
	}
}