Files
spacedrive/packages/ts-client/package.json
Jamie Pine 4d49269c13 refactor: Update TypeScript client structure and dependencies
- Removed obsolete TypeScript client files including `generate_client.sh` and `jest.config.js` to streamline the project.
- Updated `Cargo.toml` and `package.json` to reflect new dependencies and license changes, enhancing compatibility and maintainability.
- Refactored TypeScript client methods for improved type safety and clarity, including the introduction of a new `generate-types` script for type generation.
- Enhanced README documentation to provide clearer usage instructions and examples for the TypeScript client.
- Updated type definitions and event handling to align with the latest Rust core changes, ensuring consistency across the codebase.
2025-09-22 03:15:10 -07:00

37 lines
793 B
JSON

{
"name": "@spacedrive/client",
"version": "0.1.0",
"description": "Type-safe TypeScript client for Spacedrive daemon",
"main": "dist/index.js",
"types": "dist/index.d.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",
"devDependencies": {
"@types/node": "^20.0.0",
"@types/jest": "^29.0.0",
"jest": "^29.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"dependencies": {
"ws": "^8.0.0",
"@types/ws": "^8.0.0"
},
"files": [
"dist/**/*",
"src/**/*"
]
}