json-joy
Version:
Collection of libraries for building collaborative editing apps.
233 lines (232 loc) • 7.75 kB
JSON
{
"name": "json-joy",
"version": "17.38.0",
"description": "Collection of libraries for building collaborative editing apps.",
"author": {
"name": "streamich",
"url": "https://github.com/streamich"
},
"homepage": "https://github.com/streamich/json-joy",
"repository": "streamich/json-joy",
"license": "Apache-2.0",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/streamich"
},
"engines": {
"node": ">=10.0"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"bin": {
"jj": "./bin/jj.js",
"json-pack": "./bin/json-pack.js",
"json-pack-test": "./bin/json-pack-test.js",
"json-unpack": "./bin/json-unpack.js",
"json-pointer": "./bin/json-pointer.js",
"json-pointer-test": "./bin/json-pointer-test.js",
"json-patch": "./bin/json-patch.js",
"json-patch-test": "./bin/json-patch-test.js"
},
"files": [
"LICENSE",
"bin/",
"lib/",
"esm/"
],
"scripts": {
"format": "biome format ./src",
"format:fix": "biome format --write ./src",
"lint": "biome lint ./src",
"lint:fix": "biome lint --write ./src",
"clean": "npx rimraf@5.0.5 lib es6 es2019 es2020 esm typedocs coverage gh-pages yarn-error.log src/**/__bench__/node_modules src/**/__bench__/yarn-error.log",
"build:es2020": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
"build:esm": "tsc --project tsconfig.build.json --module ESNext --target ESNEXT --outDir esm",
"build:all": "npx concurrently@8.2.2 \"yarn build:es2020\" \"yarn build:esm\"",
"build": "yarn build:es2020",
"jest": "jest",
"test": "jest --maxWorkers 7",
"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",
"test:ci": "yarn jest --maxWorkers 3 --no-cache",
"test:cli": "yarn test:cli:pointer && yarn test:cli:patch && yarn test:cli:pack",
"test:cli:pointer": "./bin/json-pointer-test.js ./bin/json-pointer.js",
"test:cli:patch": "./bin/json-patch-test.js ./bin/json-patch.js",
"test:cli:pack": "./bin/json-pack-test.js ./bin/json-pack.js",
"demo:json-patch": "npx ts-node src/json-patch/__demos__/json-patch.ts",
"demo:ui:peritext": "webpack serve --config ./src/json-crdt-peritext-ui/__demos__/webpack.config.js",
"bench:json-crdt:traces:crdt-libs": "cd src/json-crdt/__bench__ && yarn && yarn bench:traces:crdt-libs",
"bench:json-crdt:traces:non-crdt-libs": "cd src/json-crdt/__bench__ && yarn && yarn bench:traces:non-crdt-libs",
"bench:json-crdt:concurrent-traces": "cd src/json-crdt/__bench__ && yarn && yarn bench:concurrent-traces",
"bench:json-crdt:codecs:encoding": "cd src/json-crdt/__bench__ && yarn && yarn bench:codecs:encoding",
"bench:json-crdt:codecs:decoding": "cd src/json-crdt/__bench__ && yarn && yarn bench:codecs:decoding",
"bench:json-crdt:codecs:encoding:json": "cd src/json-crdt/__bench__ && yarn && yarn bench:codecs:encoding:json",
"bench:json-crdt:codecs:encoding:libs": "cd src/json-crdt/__bench__ && yarn && yarn bench:codecs:encoding:libs",
"bench:json-crdt:codecs:sizes": "cd src/json-crdt/__bench__ && yarn && yarn bench:codecs:sizes",
"bench:json-ot:ot-string:apply": "cd src/json-ot/__bench__ && yarn && yarn bench:ot-string:apply",
"bench:json-ot:ot-string:compose-and-transform": "yarn build && cd src/json-ot/__bench__ && yarn && yarn bench:ot-string:compose-and-transform",
"coverage": "yarn test --collectCoverage",
"typedoc": "npx typedoc@0.25.13 --tsconfig tsconfig.build.json",
"build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
"deploy:pages": "gh-pages -d gh-pages",
"publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages",
"jj": "npx ts-node src/json-cli/jj.ts",
"upgrade:check": "npx npm-check-updates@16.14",
"upgrade:interactive": "npx npm-check-updates@16.14 --interactive"
},
"peerDependencies": {
"rxjs": "7",
"tslib": "2"
},
"peerDependenciesMeta": {
"rxjs": {
"optional": true
}
},
"dependencies": {
"@jsonjoy.com/base64": "^1.1.2",
"@jsonjoy.com/json-expression": "^1.0.0",
"@jsonjoy.com/json-pack": "^1.1.0",
"@jsonjoy.com/json-pointer": "^1.0.0",
"@jsonjoy.com/json-type": "^1.0.0",
"@jsonjoy.com/util": "^1.4.0",
"arg": "^5.0.2",
"hyperdyperid": "^1.2.0",
"nano-css": "^5.6.2",
"sonic-forest": "^1.2.0",
"thingies": "^2.1.1",
"tree-dump": "^1.0.2",
"very-small-parser": "^1.12.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@radix-ui/react-icons": "^1.3.1",
"@types/benchmark": "^2.1.5",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"benchmark": "^2.1.4",
"config-galore": "^1.0.0",
"editing-traces": "https://github.com/streamich/editing-traces#6494020428530a6e382378b98d1d7e31334e2d7b",
"fast-json-patch": "^3.1.1",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"json-crdt-traces": "https://github.com/streamich/json-crdt-traces#ec825401dc05cbb74b9e0b3c4d6527399f54d54d",
"json-logic-js": "^2.0.2",
"nano-theme": "^1.4.3",
"nice-ui": "^1.28.0",
"quill-delta": "^5.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rxjs": "^7.8.1",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"tslint": "^6.1.3",
"tslint-config-common": "^1.6.2",
"typescript": "^5.4.5",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"yjs": "^13.6.18"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"transformIgnorePatterns": [
".*/node_modules/.*"
],
"testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"
},
"config": {
"commitizen": {
"changelog": {
"maxMessageLength": 90,
"scopes": [
"",
"demo",
"json-cli",
"json-crdt-patch",
"json-crdt-extensions",
"json-crdt-peritext-ui",
"json-crdt",
"json-hash",
"json-ot",
"json-patch-ot",
"json-patch",
"json-stable",
"json-text",
"json-walk",
"util"
]
}
}
},
"release": {
"branches": [
"master",
{
"name": "next",
"prerelease": true
}
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"keywords": [
"collaborative",
"multiplayer",
"local-first",
"localfirst",
"crdt",
"rdt",
"ot",
"operational-transformation",
"replicated",
"sync",
"synchronization",
"distributed-state",
"marshaling",
"serializations",
"json-patch",
"json-binary",
"json-brand",
"json-cli",
"json-clone",
"json-crdt-patch",
"json-crdt-extensions",
"json-crdt-peritext-ui",
"json-crdt",
"json-equal",
"json-expression",
"json-hash",
"json-ot",
"json-pack",
"json-patch-multicore",
"json-patch-ot",
"json-patch",
"json-pointer",
"json-random",
"json-schema",
"json-size",
"json-stable",
"json-text",
"json-type",
"json-type-value",
"json-walk"
]
}