Files
yjs/package.json

107 lines
3.0 KiB
JSON
Raw Normal View History

{
2015-01-26 23:24:50 +00:00
"name": "yjs",
2025-06-23 15:07:21 +02:00
"version": "14.0.0-8",
2019-04-27 03:35:44 +02:00
"description": "Shared Editing Library",
2020-01-13 14:54:07 +01:00
"main": "./dist/yjs.cjs",
"module": "./dist/yjs.mjs",
2020-01-23 21:45:56 +01:00
"types": "./dist/src/index.d.ts",
2021-11-06 15:55:59 +01:00
"type": "module",
2018-11-25 22:39:30 +01:00
"sideEffects": false,
2020-05-31 23:24:35 +02:00
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"scripts": {
2024-02-29 14:46:43 +01:00
"clean": "rm -rf dist docs",
"test": "NODE_ENV=development node ./tests/index.js --repetition-time 50",
"test-extensive": "node ./tests/index.js --production --repetition-time 10000",
2024-02-29 14:46:43 +01:00
"dist": "npm run clean && rollup -c && tsc",
2018-11-25 03:17:00 +01:00
"watch": "rollup -wc",
2019-09-04 13:05:03 +02:00
"lint": "markdownlint README.md && standard && tsc",
"docs": "rm -rf docs; jsdoc --configure ./.jsdoc.json --verbose --readme ./README.md --package ./package.json || true",
"serve-docs": "npm run docs && 0serve ./docs/",
"preversion": "npm run lint && PRODUCTION=1 npm run dist && npm run docs && node ./tests/index.js --repetition-time 1000 && test -e dist/src/index.d.ts && test -e dist/yjs.cjs && test -e dist/yjs.cjs",
"debug": "npm run gentesthtml && 0serve -o test.html",
"trace-deopt": "clear && node --trace-deopt ./tests/index.js",
"trace-opt": "clear && node --trace-opt ./tests/index.js",
"gentesthtml": "0gentesthtml --script ./tests/index.js --include-dependencies @y/protocols > test.html"
},
2021-02-20 21:55:01 +01:00
"exports": {
".": {
2022-05-17 21:18:04 +09:00
"types": "./dist/src/index.d.ts",
"module": "./src/index.js",
"require": "./dist/yjs.cjs",
"import": "./src/index.js"
},
"./internals": {
"types": "./dist/src/internals.d.ts",
"module": "./src/internals.js",
"require": "./dist/internals.cjs",
"import": "./src/internals.js"
},
"./testHelper": {
"types": "./dist/testHelper.d.ts",
"module": "./tests/testHelper.js",
"require": "./dist/testHelper.cjs",
"import": "./tests/testHelper.js"
2021-02-20 21:55:01 +01:00
},
"./package.json": "./package.json"
2021-02-20 21:55:01 +01:00
},
2017-07-05 17:01:21 +02:00
"files": [
2025-05-01 15:26:26 +02:00
"dist/*",
2021-01-10 15:13:19 +01:00
"dist/src",
2021-02-02 15:50:22 +01:00
"src",
"tests/testHelper.js",
2025-05-01 15:26:26 +02:00
"dist/testHelper.mjs"
2015-06-16 14:36:00 +02:00
],
2018-11-25 22:39:30 +01:00
"dictionaries": {
2019-03-01 23:26:40 +01:00
"test": "tests"
},
2015-07-21 17:14:03 +02:00
"standard": {
"ignore": [
2019-03-01 23:26:40 +01:00
"/dist",
2018-11-25 03:17:00 +01:00
"/node_modules",
2019-05-22 17:32:51 +02:00
"/docs"
2015-07-21 17:14:03 +02:00
]
},
"repository": {
"type": "git",
2019-09-04 13:05:03 +02:00
"url": "https://github.com/yjs/yjs.git"
},
"keywords": [
2020-01-19 00:43:23 +01:00
"Yjs",
"CRDT",
"offline",
2021-05-14 18:53:24 +02:00
"offline-first",
"shared-editing",
2020-01-19 00:43:23 +01:00
"concurrency",
"collaboration"
],
"author": "Kevin Jahns",
2019-09-04 13:05:03 +02:00
"email": "kevin.jahns@protonmail.com",
2014-08-09 00:31:30 +02:00
"license": "MIT",
"bugs": {
2019-09-04 13:05:03 +02:00
"url": "https://github.com/yjs/yjs/issues"
2014-08-12 19:13:42 +02:00
},
2021-01-10 12:27:37 +01:00
"homepage": "https://docs.yjs.dev",
2019-03-13 01:49:51 +01:00
"dependencies": {
"lib0": "^0.2.114"
2019-03-13 01:49:51 +01:00
},
"devDependencies": {
2025-05-01 15:26:26 +02:00
"@y/protocols": "^1.0.6-1",
"@types/node": "^22.14.1",
"concurrently": "^3.6.1",
2021-10-14 16:19:24 +02:00
"jsdoc": "^3.6.7",
2024-08-06 16:37:52 +02:00
"markdownlint-cli": "^0.41.0",
"rollup": "^4.37.0",
2021-10-14 16:18:50 +02:00
"standard": "^16.0.4",
2019-03-13 01:49:51 +01:00
"tui-jsdoc-template": "^1.2.2",
"typescript": "^5.8.3",
"yjs": "."
2023-03-21 11:27:37 +01:00
},
2023-03-22 11:05:23 +01:00
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
2019-03-13 00:22:38 +01:00
}
}