@datalayer/lexical-loro 0.0.1

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,73 @@
1
+ {
2
+ "name": "@datalayer/lexical-loro",
3
+ "private": false,
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "files": [
7
+ "lib/**/*"
8
+ ],
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/datalayer/lexical-loro.git"
12
+ },
13
+ "author": "Datalayer <info@datalayer.io>",
14
+ "license": "MIT",
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {
19
+ "build": "tsc -b && vite build",
20
+ "clean": "rimraf dist lib",
21
+ "lint": "eslint .",
22
+ "preview": "vite preview",
23
+ "server": "tsx servers/server.ts",
24
+ "server:py": "lexical-loro-server",
25
+ "server:py:dev": "python3 -m lexical_loro.cli",
26
+ "test:py": "python3 -m pytest lexical_loro/tests/ -v",
27
+ "test:py:watch": "python3 -m pytest lexical_loro/tests/ -v --tb=short -f",
28
+ "test:py:coverage": "python3 -m pytest lexical_loro/tests/ --cov=. --cov-report=html --cov-report=term",
29
+ "test": "vitest",
30
+ "test:js": "vitest run",
31
+ "dev": "concurrently \"npm run server\" \"npm run server:py\" \"npm run dev:vite\"",
32
+ "dev:vite": "vite",
33
+ "dev:all:py": "concurrently \"npm run server:py\" \"npm run dev:vite\"",
34
+ "dev:all:js": "concurrently \"npm run server\" \"npm run dev:vite\""
35
+ },
36
+ "dependencies": {
37
+ "@lexical/react": "^0.33.1",
38
+ "@lexical/selection": "^0.33.1",
39
+ "lexical": "^0.33.1",
40
+ "loro-crdt": "^1.5.10",
41
+ "react": "^18 || ^19.1.0",
42
+ "react-dom": "^18 || ^19.1.0"
43
+ },
44
+ "devDependencies": {
45
+ "@eslint/js": "^9.30.1",
46
+ "@types/react": "^19.1.8",
47
+ "@types/react-dom": "^19.1.6",
48
+ "@types/ws": "^8.18.1",
49
+ "@vitejs/plugin-react": "^4.6.0",
50
+ "concurrently": "^9.2.0",
51
+ "eslint": "^9.30.1",
52
+ "eslint-plugin-react-hooks": "^5.2.0",
53
+ "eslint-plugin-react-refresh": "^0.4.20",
54
+ "globals": "^16.3.0",
55
+ "@lexical/code": "^0.33.1",
56
+ "@lexical/history": "^0.33.1",
57
+ "@lexical/html": "^0.33.1",
58
+ "@lexical/list": "^0.33.1",
59
+ "@lexical/plain-text": "^0.33.1",
60
+ "@lexical/rich-text": "^0.33.1",
61
+ "@lexical/table": "^0.33.1",
62
+ "@lexical/utils": "^0.33.1",
63
+ "rimraf": "^6.0.1",
64
+ "tsx": "^4.20.3",
65
+ "typescript": "~5.8.3",
66
+ "typescript-eslint": "^8.35.1",
67
+ "vite": "^7.0.4",
68
+ "vitest": "^2.1.4",
69
+ "vite-plugin-top-level-await": "^1.6.0",
70
+ "vite-plugin-wasm": "^3.5.0",
71
+ "ws": "^8.18.3"
72
+ }
73
+ }