|
1 | 1 | {
|
2 | 2 | "name": "json-joy",
|
3 | 3 | "version": "11.2.0",
|
4 |
| - "description": "", |
| 4 | + "description": "Collection of libraries for building collaborative editing apps.", |
5 | 5 | "author": {
|
6 | 6 | "name": "streamich",
|
7 | 7 | "url": "https://github.com/streamich"
|
8 | 8 | },
|
9 | 9 | "homepage": "https://github.com/streamich/json-joy",
|
10 | 10 | "repository": "streamich/json-joy",
|
11 | 11 | "license": "Apache-2.0",
|
12 |
| - "funding": "https://github.com/sponsors/streamich", |
| 12 | + "funding": { |
| 13 | + "type": "github", |
| 14 | + "url": "https://github.com/sponsors/streamich" |
| 15 | + }, |
13 | 16 | "engines": {
|
14 | 17 | "node": ">=10.0"
|
15 | 18 | },
|
| 19 | + "keywords": [ |
| 20 | + "collaborative", |
| 21 | + "multiplayer", |
| 22 | + "local-first", |
| 23 | + "localfirst", |
| 24 | + "crdt", |
| 25 | + "rdt", |
| 26 | + "ot", |
| 27 | + "operational-transformation", |
| 28 | + "replicated", |
| 29 | + "sync", |
| 30 | + "synchronization", |
| 31 | + "distributed-state", |
| 32 | + "marshaling", |
| 33 | + "serializations", |
| 34 | + "json-patch", |
| 35 | + "json-binary", |
| 36 | + "json-brand", |
| 37 | + "json-cli", |
| 38 | + "json-clone", |
| 39 | + "json-crdt-patch", |
| 40 | + "json-crdt-extensions", |
| 41 | + "json-crdt-peritext-ui", |
| 42 | + "json-crdt", |
| 43 | + "json-equal", |
| 44 | + "json-expression", |
| 45 | + "json-hash", |
| 46 | + "json-ot", |
| 47 | + "json-pack", |
| 48 | + "json-patch-multicore", |
| 49 | + "json-patch-ot", |
| 50 | + "json-patch", |
| 51 | + "json-pointer", |
| 52 | + "json-random", |
| 53 | + "json-schema", |
| 54 | + "json-size", |
| 55 | + "json-stable", |
| 56 | + "json-text", |
| 57 | + "json-type", |
| 58 | + "json-type-value", |
| 59 | + "json-walk" |
| 60 | + ], |
16 | 61 | "main": "lib/index.js",
|
17 |
| - "module": "esm/index.js", |
| 62 | + "types": "lib/index.d.ts", |
| 63 | + "typings": "lib/index.d.ts", |
18 | 64 | "bin": {
|
19 | 65 | "jj": "./bin/jj.js",
|
20 | 66 | "json-pack": "./bin/json-pack.js",
|
|
27 | 73 | },
|
28 | 74 | "files": [
|
29 | 75 | "LICENSE",
|
30 |
| - "lib/", |
31 |
| - "es6/", |
32 |
| - "es2020/", |
33 |
| - "esm/" |
| 76 | + "lib/" |
34 | 77 | ],
|
35 | 78 | "scripts": {
|
36 | 79 | "prettier": "prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"",
|
|
39 | 82 | "lint:fix": "yarn tslint --fix",
|
40 | 83 | "tslint": "tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .",
|
41 | 84 | "clean": "rimraf lib es6 es2019 es2020 esm typedocs coverage gh-pages yarn-error.log",
|
42 |
| - "build:cjs": "tsc --project tsconfig.build.json", |
43 |
| - "build:es6": "tsc --project tsconfig.build.json --module commonjs --target es6 --outDir es6", |
44 |
| - "build:es2020": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir es2020", |
45 |
| - "build:esm": "tsc --project tsconfig.build.json --module ESNext --target ESNEXT --outDir esm", |
46 |
| - "build:all": "concurrently \"yarn build:cjs\" \"yarn build:es6\" \"yarn build:es2020\" \"yarn build:esm\"", |
| 85 | + "build:es2020": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib", |
| 86 | + "build:all": "concurrently \"yarn build:es2020\"", |
47 | 87 | "build": "yarn build:es2020",
|
48 | 88 | "jest": "node -r ts-node/register ./node_modules/.bin/jest",
|
49 | 89 | "test": "jest --maxWorkers 7",
|
50 |
| - "test:all": "yarn lint && yarn test && yarn build:all && yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack && yarn test:reactive-rpc && yarn demo:json-patch && yarn demo:json-pointer", |
| 90 | + "test:all": "yarn lint && yarn test && yarn build:all && yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack && yarn demo:json-patch && yarn demo:json-pointer", |
51 | 91 | "test:ci": "yarn jest --maxWorkers 3 --no-cache",
|
52 | 92 | "test:cli": "yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack",
|
53 | 93 | "test:cli:pointer": "./bin/json-pointer-test.js ./bin/json-pointer.js",
|
54 | 94 | "test:cli:patch": "./bin/json-patch-test.js ./bin/json-patch.js",
|
55 | 95 | "test:cli:pack": "./bin/json-pack-test.js ./bin/json-pack.js",
|
56 |
| - "test:reactive-rpc": "node -r ts-node/register/transpile-only src/reactive-rpc/__tests__/e2e/run.ts", |
57 |
| - "test:reactive-rpc:jest": "TEST_E2E=1 jest --maxWorkers 1 --no-cache src/reactive-rpc/__tests__/e2e/", |
58 | 96 | "demo:json-patch": "ts-node src/json-patch/__demos__/json-patch.ts",
|
59 | 97 | "demo:json-pointer": "ts-node src/json-pointer/__demos__/json-pointer.ts",
|
60 |
| - "demo:reactive-rpc:server": "ts-node src/reactive-rpc/__demos__/server.ts", |
61 | 98 | "coverage": "yarn test --collectCoverage",
|
62 | 99 | "typedoc": "typedoc",
|
63 | 100 | "build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
|
64 | 101 | "deploy:pages": "gh-pages -d gh-pages",
|
65 | 102 | "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages",
|
66 | 103 | "jj": "ts-node src/json-cli/jj.ts"
|
67 | 104 | },
|
68 |
| - "keywords": [], |
69 | 105 | "peerDependencies": {
|
70 | 106 | "quill-delta": "^5",
|
71 | 107 | "rxjs": "7",
|
|
80 | 116 | }
|
81 | 117 | },
|
82 | 118 | "dependencies": {
|
| 119 | + "@jsonjoy.com/base64": "^1.1.1", |
| 120 | + "@jsonjoy.com/json-pack": "^1.0.2", |
| 121 | + "@jsonjoy.com/util": "^1.0.0", |
83 | 122 | "arg": "^5.0.2",
|
84 | 123 | "hyperdyperid": "^1.2.0",
|
85 | 124 | "multibase": "^4.0.6",
|
|
89 | 128 | "@automerge/automerge": "2.1.7",
|
90 | 129 | "@collabs/collabs": "0.13.4",
|
91 | 130 | "@exodus/schemasafe": "^1.0.0-rc.6",
|
92 |
| - "@msgpack/msgpack": "^3.0.0-beta2", |
93 |
| - "@redis/client": "^1.5.12", |
94 |
| - "@shelacek/ubjson": "^1.1.1", |
95 | 131 | "@types/benchmark": "^2.1.2",
|
96 | 132 | "@types/jest": "^29.5.12",
|
97 |
| - "@types/quill": "^2.0.10", |
98 |
| - "@types/react": "^18.2.7", |
99 |
| - "@types/react-dom": "^18.2.4", |
| 133 | + "@types/quill": "^2.0.14", |
100 | 134 | "ajv": "^8.11.0",
|
101 | 135 | "app-root-path": "^3.1.0",
|
102 | 136 | "axios": "^1.3.5",
|
103 |
| - "base64-js": "^1.5.1", |
104 | 137 | "benchmark": "^2.1.4",
|
105 |
| - "bson": "^5.4.0", |
106 |
| - "cbor": "^8.1.0", |
107 |
| - "cbor-js": "^0.1.0", |
108 |
| - "cbor-sync": "^1.0.4", |
109 |
| - "cbor-x": "^1.3.0", |
110 |
| - "cborg": "^2.0.3", |
111 | 138 | "concurrently": "^8.0.1",
|
112 | 139 | "diamond-types-node": "1.0.2",
|
113 | 140 | "editing-traces": "https://github.com/streamich/editing-traces#6494020428530a6e382378b98d1d7e31334e2d7b",
|
114 |
| - "eventsource": "^2.0.2", |
115 |
| - "fast-deep-equal": "^3.1.3", |
116 |
| - "fast-equals": "^5.0.1", |
117 | 141 | "fast-json-patch": "^3.0.0-1",
|
118 |
| - "fast-safe-stringify": "^2.1.1", |
119 |
| - "fast-stable-stringify": "^1.0.0", |
120 |
| - "fastest-stable-stringify": "^2.0.2", |
121 |
| - "find-my-way": "^7.6.0", |
122 | 142 | "fork-ts-checker-webpack-plugin": "^8.0.0",
|
123 | 143 | "gh-pages": "^5.0.0",
|
124 | 144 | "html-webpack-plugin": "^5.5.1",
|
125 | 145 | "husky": "^8.0.3",
|
126 |
| - "ion-js": "^4.3.0", |
127 | 146 | "isomorphic-ws": "^5.0.0",
|
128 | 147 | "jest": "^29.7.0",
|
129 |
| - "js-base64": "^3.7.2", |
130 | 148 | "js-sdsl": "^4.4.0",
|
131 |
| - "jsbi": "^4.3.0", |
132 | 149 | "json-crdt-traces": "https://github.com/streamich/json-crdt-traces#ec825401dc05cbb74b9e0b3c4d6527399f54d54d",
|
133 | 150 | "json-logic-js": "^2.0.1",
|
134 |
| - "json-pack-napi": "^0.0.2", |
135 |
| - "load-script": "^2.0.0", |
136 |
| - "lodash": "^4.17.21", |
137 | 151 | "loro-crdt": "^0.4.1",
|
138 |
| - "markdown-it": "^13.0.1", |
139 |
| - "memfs": "^4.8.1", |
140 |
| - "messagepack": "^1.1.12", |
141 |
| - "msgpack-lite": "^0.1.26", |
142 |
| - "msgpack5": "^6.0.2", |
143 |
| - "msgpackr": "^1.6.0", |
144 | 152 | "nodemon": "^3.0.0",
|
145 | 153 | "ot-text": "^1.0.2",
|
146 | 154 | "ot-text-unicode": "^4.0.0",
|
147 | 155 | "p4-css": "^1.5.1",
|
148 |
| - "pako": "^2.0.4", |
149 | 156 | "prettier": "^3.2.5",
|
150 | 157 | "pretty-quick": "^3.1.3",
|
151 | 158 | "quill-delta": "^5.0.0",
|
152 |
| - "react": "^18.2.0", |
153 |
| - "react-dom": "^18.2.0", |
154 |
| - "redis-parser": "^3.0.0", |
155 | 159 | "rimraf": "^5.0.0",
|
156 | 160 | "rope.js": "0.1.0",
|
157 |
| - "rxjs": "^7.5.5", |
158 |
| - "safe-stable-stringify": "^2.3.1", |
159 |
| - "secure-json-parse": "^2.4.0", |
160 | 161 | "sorted-btree": "^1.8.1",
|
161 | 162 | "tinybench": "^2.4.0",
|
162 | 163 | "ts-jest": "^29.1.2",
|
|
165 | 166 | "tslib": "^2.6.2",
|
166 | 167 | "tslint": "^6.1.3",
|
167 | 168 | "tslint-config-common": "^1.6.2",
|
168 |
| - "typedoc": "^0.25.12", |
169 |
| - "typescript": "^5.3.3", |
170 |
| - "uWebSockets.js": "uNetworking/uWebSockets.js#v20.23.0", |
171 |
| - "webpack": "^5.84.1", |
172 |
| - "webpack-cli": "^5.1.1", |
173 |
| - "webpack-dev-server": "^4.15.0", |
174 |
| - "websocket": "^1.0.34", |
175 |
| - "ws": "^8.14.2", |
| 169 | + "typedoc": "^0.25.13", |
| 170 | + "typescript": "^5.4.4", |
| 171 | + "webpack": "^5.91.0", |
| 172 | + "webpack-cli": "^5.1.4", |
| 173 | + "webpack-dev-server": "^5.0.4", |
176 | 174 | "yjs": "13.6.9",
|
177 | 175 | "ywasm": "0.16.10"
|
178 | 176 | },
|
179 |
| - "types": "lib/index.d.ts", |
180 |
| - "typings": "lib/index.d.ts", |
181 | 177 | "jest": {
|
182 | 178 | "verbose": true,
|
183 | 179 | "testEnvironmentOptions": {
|
|
213 | 209 | "scopes": [
|
214 | 210 | "",
|
215 | 211 | "demo",
|
216 |
| - "json-binary", |
217 |
| - "json-brand", |
218 | 212 | "json-cli",
|
219 | 213 | "json-clone",
|
220 | 214 | "json-crdt-patch",
|
221 | 215 | "json-crdt-extensions",
|
222 | 216 | "json-crdt-peritext-ui",
|
223 | 217 | "json-crdt",
|
224 |
| - "json-equal", |
225 | 218 | "json-expression",
|
226 | 219 | "json-hash",
|
227 | 220 | "json-ot",
|
228 |
| - "json-pack", |
229 |
| - "json-patch-multicore", |
230 | 221 | "json-patch-ot",
|
231 | 222 | "json-patch",
|
232 | 223 | "json-pointer",
|
233 |
| - "json-random", |
234 | 224 | "json-schema",
|
235 | 225 | "json-size",
|
236 | 226 | "json-stable",
|
237 | 227 | "json-text",
|
238 | 228 | "json-type",
|
239 | 229 | "json-type-value",
|
240 | 230 | "json-walk",
|
241 |
| - "reactive-rpc", |
242 | 231 | "util"
|
243 | 232 | ]
|
244 | 233 | }
|
|
0 commit comments