@railway/inkwell 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/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@railway/inkwell",
3
+ "version": "0.1.0",
4
+ "description": "Inkwell is a Markdown editor and renderer for React with an extensible plugin system and real-time collaboration support.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
28
+ "typecheck": "tsc --noEmit",
29
+ "lint": "biome check .",
30
+ "lint:fix": "biome check --fix --unsafe ."
31
+ },
32
+ "peerDependencies": {
33
+ "react": "^19.0.0",
34
+ "react-dom": "^19.0.0"
35
+ },
36
+ "dependencies": {
37
+ "@slate-yjs/core": "^1.0.2",
38
+ "highlight.js": "^11.11.1",
39
+ "mdast-util-to-string": "^4.0.0",
40
+ "rehype-highlight": "^7.0.2",
41
+ "rehype-parse": "^9.0.1",
42
+ "rehype-react": "^8.0.0",
43
+ "rehype-remark": "^10.0.1",
44
+ "rehype-sanitize": "^6.0.0",
45
+ "rehype-stringify": "^10.0.1",
46
+ "remark-gfm": "^4.0.1",
47
+ "remark-parse": "^11.0.0",
48
+ "remark-rehype": "^11.1.2",
49
+ "remark-stringify": "^11.0.0",
50
+ "slate": "^0.124.0",
51
+ "slate-history": "^0.113.1",
52
+ "slate-react": "^0.124.0",
53
+ "unified": "^11.0.5",
54
+ "unist-util-visit": "^5.1.0",
55
+ "y-protocols": "^1.0.7",
56
+ "yjs": "^13.6.30"
57
+ },
58
+ "devDependencies": {
59
+ "@testing-library/jest-dom": "^6.9.1",
60
+ "@testing-library/react": "^16.3.2",
61
+ "@types/mdast": "^4.0.4",
62
+ "@types/react": "^19.0.0",
63
+ "@types/react-dom": "^19.0.0",
64
+ "@vitejs/plugin-react": "^6.0.1",
65
+ "jsdom": "^28.1.0",
66
+ "react": "^19.0.0",
67
+ "react-dom": "^19.0.0",
68
+ "tsup": "^8.5.1",
69
+ "typescript": "^5.7.0",
70
+ "vitest": "^4.1.0"
71
+ }
72
+ }