-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
127 lines (127 loc) · 4.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@y/stream",
"version": "0.1.2",
"description": "A fast CRDT database",
"sideEffects": false,
"type": "module",
"types": "./dist/src/index.d.ts",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"scripts": {
"docs": "npm run docs:build && 0serve -o ./docs/index.html",
"docs:build": "typedoc src/index.js",
"clean": "rm -rf dist .ystream .test_dbs tmp coverage",
"types": "tsc",
"gentesthtml": "npx 0gentesthtml --script ./tests/index.js > test.html",
"debug:browser": "npm run gentesthtml && npx 0serve -o test.html",
"debug:node": "LOG=* node --inspect-brk tests/index.js",
"ws-server": "LOG=* node ./bin/server.js",
"ws-server:inspect": "LOG=* node --inspect-brk ./bin/server.js",
"test": "LOG=* c8 node tests/index.js",
"test-coverage": "npm run lint && npm run dist && nyc --check-coverage --lines 100 --branches 100 --functions 100 --statements 100 node --unhandled-rejections=strict ./dist/test.cjs --repetition-time 50 --production",
"test-inspect": "node --inspect-brk --unhandled-rejections=strict ./test.js --repetition-time 50 --production",
"test-extensive": "node test.js && npm test -- --repetition-time 30000 --extensive",
"test-code-coverage": "npm run dist && nyc --reporter html node ./dist/test.cjs --production",
"lint": "standard && tsc",
"preversion": "npm run clean && npm run types && rm -rf dist/tests && npm run docs:build",
"postpublish": "npm run clean",
"server:docker:build": "docker build . -t ystream",
"server:docker:run": "docker run -p 9000:9000 --name ystream ystream "
},
"files": [
"dist",
"src",
"docs"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/src/index.d.ts",
"default": "./src/index.js"
},
"./comms/websocket": {
"types": "./dist/src/comms/websocket.d.ts",
"default": "./src/comms/websocket.js"
},
"./comms/websocket-server": {
"types": "./dist/src/comms/websocket-server.d.ts",
"default": "./src/comms/websocket-server.js"
},
"./utils/websocket": {
"browser": "./src/utils/websocket.browser.js",
"bun": "./src/utils/websocket.node.js",
"node": "./src/utils/websocket.node.js",
"types": "./dist/src/utils/websocket.browser.d.ts",
"default": "./src/utils/websocket.browser.js"
},
"./api/authentication": {
"types": "./dist/src/api/authentication.d.ts",
"default": "./src/api/authentication.js"
},
"./api/dbtypes": {
"types": "./dist/src/api/dbtypes.d.ts",
"default": "./src/api/dbtypes.js"
},
"./api/actions": {
"types": "./dist/src/api/actions.d.ts",
"default": "./src/api/actions.js"
},
"./extensions/fs": {
"types": "./dist/src/extensions/fs.d.ts",
"default": "./src/extensions/fs.js"
}
},
"bin": {
"ystream-server": "./bin/server.js",
"yfs": "./bin/yfs.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yjs/ystream.git"
},
"author": "Kevin Jahns <kevin.jahns@protonmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yjs/ystream/issues"
},
"homepage": "https://github.com/yjs/ystream#readme",
"standard": {
"ignore": [
"/dist",
"/node_modules",
"/docs"
]
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-markdown": "^6.2.4",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.24.1",
"@types/node": "^18.11.9",
"@types/ws": "^8.5.5",
"c8": "^7.13.0",
"codemirror": "^6.0.1",
"concurrently": "^7.6.0",
"standard": "^17.0.0",
"typedoc": "^0.25.13",
"typescript": "^5.1.6",
"y-codemirror.next": "^0.3.2"
},
"dependencies": {
"isodb": "^0.1.6",
"lib0": "^0.2.82"
},
"peerDependencies": {
"yjs": "^13.5.43"
},
"optionalDependencies": {
"chokidar": "^3.6.0",
"uws": "github:uNetworking/uWebSockets.js#v20.43.0",
"ws": "^8.14.1"
}
}