-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
75 lines (75 loc) · 2.24 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
{
"name": "y-excalidraw",
"version": "2.0.12",
"type": "module",
"description": "This binding binds a Y.Array to a Exacalidraw whiteboard.",
"author": "Rahul Badenkal <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/RahulBadenkal/y-excalidraw.git"
},
"keywords": [
"Excalidraw",
"Yjs"
],
"homepage": "https://github.com/RahulBadenkal/y-excalidraw#readme",
"bugs": "https://github.com/RahulBadenkal/y-excalidraw/issues",
"main": "./dist/y-excalidraw.cjs",
"module": "./dist/y-excalidraw.js",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/y-excalidraw.js",
"module": "./dist/y-excalidraw.js",
"require": "./dist/y-excalidraw.cjs"
},
"./*": {
"types": "./dist/src/*.d.ts",
"import": "./dist/src/*.js",
"require": "./dist/src/*.cjs"
}
},
"files": [
"dist/*"
],
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.11.1",
"@excalidraw/excalidraw": "^0.17.6",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"posthog-js": "^1.167.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8",
"y-protocols": "^1.0.6",
"y-webrtc": "^10.3.0",
"yjs": "^13.6.19"
},
"peerDependencies": {
"@excalidraw/excalidraw": "^0.17.6",
"yjs": "^13.6.19"
},
"dependencies": {
"fractional-indexing": "^3.2.0"
},
"scripts": {
"demo:dev": "cd demo && vite",
"demo:build": "cd demo && tsc -b && vite build",
"demo:server": "PORT=3000 node node_modules/y-webrtc/bin/server.js",
"demo:lint": "cd demo && eslint .",
"demo:preview": "cd demo && vite preview",
"build": "rm -rf dist && node esbuild.config.mjs && cd src && tsc --emitDeclarationOnly && rm -rf dist/src/tsconfig.tsbuildinfo && mv dist/src ../dist/ && rm -rf dist",
"prepublish": "npm run build",
"publish": "npm run prepublish && npm publish"
}
}