{
	"name": "@sd/ts-client",
	"version": "0.1.0",
	"description": "Type-safe TypeScript client for Spacedrive daemon",
	"main": "dist/index.js",
	"types": "dist/index.d.ts",
	"exports": {
		".": {
			"types": "./src/index.ts",
			"default": "./src/index.ts"
		},
		"./generated/types": {
			"types": "./src/generated/types.ts",
			"default": "./src/generated/types.ts"
		},
		"./src/generated/types": {
			"types": "./src/generated/types.ts",
			"default": "./src/generated/types.ts"
		},
		"./hooks": {
			"types": "./src/hooks/index.ts",
			"default": "./src/hooks/index.ts"
		},
		"./hooks/useClient": {
			"types": "./src/hooks/useClient.tsx",
			"default": "./src/hooks/useClient.tsx"
		},
		"./hooks/useNormalizedQuery": {
			"types": "./src/hooks/useNormalizedQuery.ts",
			"default": "./src/hooks/useNormalizedQuery.ts"
		},
		"./src/hooks/useClient": {
			"types": "./src/hooks/useClient.tsx",
			"default": "./src/hooks/useClient.tsx"
		},
		"./src/hooks/useNormalizedQuery": {
			"types": "./src/hooks/useNormalizedQuery.ts",
			"default": "./src/hooks/useNormalizedQuery.ts"
		}
	},
	"scripts": {
		"build": "tsc",
		"dev": "tsc --watch",
		"test": "jest",
		"generate-types": "cargo run --bin generate_typescript_types --manifest-path ../../core/Cargo.toml"
	},
	"keywords": [
		"spacedrive",
		"client",
		"typescript",
		"daemon"
	],
	"author": "Spacedrive",
	"license": "GPL-3.0",
	"peerDependencies": {
		"@tanstack/react-query": "^5.0.0",
		"react": "^18.0.0 || ^19.0.0"
	},
	"peerDependenciesMeta": {
		"@tanstack/react-query": {
			"optional": true
		},
		"react": {
			"optional": true
		}
	},
	"devDependencies": {
		"@happy-dom/global-registrator": "^15.11.0",
		"@testing-library/jest-dom": "^6.0.0",
		"@testing-library/react": "^16.0.0",
		"@types/jest": "^29.0.0",
		"@types/node": "^20.0.0",
		"happy-dom": "^15.11.0",
		"jest": "^29.0.0",
		"jest-environment-jsdom": "^29.0.0",
		"jsdom": "^27.2.0",
		"ts-jest": "^29.0.0",
		"typescript": "^5.0.0"
	},
	"dependencies": {
		"@types/ws": "^8.0.0",
		"@sd/assets": "workspace:*",
		"ws": "^8.0.0",
		"zustand": "^5.0.8",
		"ts-deepmerge": "^7.0.1",
		"tiny-invariant": "^1.3.3",
		"valibot": "^1.0.0",
		"type-fest": "^4.30.0"
	},
	"files": [
		"dist/**/*",
		"src/**/*"
	]
}
