@rollstack/rscanvas 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +386 -0
- package/dist/index.d.mts +269 -0
- package/dist/index.d.ts +269 -0
- package/dist/index.js +4545 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +4507 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +76 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rollstack/rscanvas",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "RSCanvas SDK",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": ["dist"],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup",
|
|
18
|
+
"dev": "tsup --watch",
|
|
19
|
+
"demo": "npx concurrently -n lib,demo,serve,ws -c blue,yellow,green,magenta \"tsup --watch\" \"tsup --config demo-legacy/tsup.config.ts --watch\" \"npx serve . -l 3000\" \"npm run server\"",
|
|
20
|
+
"sandbox": "npx concurrently -n lib,sandbox,serve -c blue,yellow,green \"tsup --watch\" \"tsup --config sandbox/tsup.config.ts --watch\" \"npx serve . -l 3000\"",
|
|
21
|
+
"server": "npx kill-port 3001 2>/dev/null || true && npx tsx demo-legacy/server/ws_server.ts",
|
|
22
|
+
"lint": "eslint src/",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
26
|
+
"prepublishOnly": "npm run build",
|
|
27
|
+
"docs": "typedoc && cp docs-assets/rollstack-logo.png docs/assets/",
|
|
28
|
+
"docs:open": "npm run docs && npx open-cli docs/index.html"
|
|
29
|
+
},
|
|
30
|
+
"keywords": ["canvas", "editor", "richtext", "whiteboard", "sdk"],
|
|
31
|
+
"author": "Rollstack",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/Rollstack/RSCanvas.git"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/Rollstack/RSCanvas#readme",
|
|
38
|
+
"bugs": "https://github.com/Rollstack/RSCanvas/issues",
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=18"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"html2canvas": "^1.4.1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
47
|
+
"@codemirror/state": "^6.5.4",
|
|
48
|
+
"@codemirror/view": "^6.39.14",
|
|
49
|
+
"@tiptap/pm": "^3.19.0",
|
|
50
|
+
"@tiptap/react": "^3.19.0",
|
|
51
|
+
"@tiptap/starter-kit": "^3.19.0",
|
|
52
|
+
"@types/node": "^22.13.1",
|
|
53
|
+
"@types/react": "^19.2.14",
|
|
54
|
+
"@types/react-dom": "^19.2.3",
|
|
55
|
+
"@types/ws": "^8.18.1",
|
|
56
|
+
"codemirror": "^6.0.2",
|
|
57
|
+
"eslint": "^9.20.0",
|
|
58
|
+
"fast-json-patch": "^3.1.1",
|
|
59
|
+
"kill-port": "^2.0.1",
|
|
60
|
+
"prosemirror-example-setup": "^1.2.3",
|
|
61
|
+
"prosemirror-model": "^1.25.4",
|
|
62
|
+
"prosemirror-schema-basic": "^1.2.4",
|
|
63
|
+
"prosemirror-schema-list": "^1.5.1",
|
|
64
|
+
"prosemirror-state": "^1.4.4",
|
|
65
|
+
"prosemirror-view": "^1.41.6",
|
|
66
|
+
"react": "^19.2.4",
|
|
67
|
+
"react-dom": "^19.2.4",
|
|
68
|
+
"tsup": "^8.3.6",
|
|
69
|
+
"tsx": "^4.21.0",
|
|
70
|
+
"typedoc": "^0.27.0",
|
|
71
|
+
"typescript": "^5.7.3",
|
|
72
|
+
"typescript-eslint": "^8.24.0",
|
|
73
|
+
"vitest": "^3.0.5",
|
|
74
|
+
"ws": "^8.19.0"
|
|
75
|
+
}
|
|
76
|
+
}
|