mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-30 19:33:30 -04:00
- 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.
37 lines
793 B
JSON
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/**/*"
|
|
]
|
|
}
|