-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.08 KB
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
{
"name": "@ttab/textbit",
"version": "1.6.0",
"license": "MIT",
"description": "Textbit is an editable component created as part of the Elephant project, based on Slate.",
"author": {
"name": "Danne Lundqvist"
},
"type": "module",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"build:types": "tsc -p tsconfig.lib.json --noEmit false",
"lint": "eslint . --cache",
"lint:fix": "eslint . --fix",
"tsc": "tsc --noEmit",
"preview": "vite preview",
"preversion": "vitest run && npm run build",
"postversion": "git push && git push --tags",
"test": "vitest run",
"test:ui": "vitest --ui"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/ttab"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ttab/textbit.git"
},
"peerDependencies": {
"@slate-yjs/core": "^1.0.2",
"@slate-yjs/react": "^1.1.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"slate": "^0.124.1",
"slate-react": "^0.124.0",
"yjs": "^13.6.26"
},
"devDependencies": {
"@eslint/js": "^9.29.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/is-hotkey": "^0.1.10",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^4.5.2",
"@vitest/ui": "^4.0.8",
"eslint": "^9.29.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"jsdom": "^27.1.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"ts-node": "^10.9.2",
"typescript": "~5.8.3",
"typescript-eslint": "^8.59.2",
"vite": "^7.2.2",
"vite-plugin-dts": "^5.0.0",
"vitest": "^4.0.8"
},
"dependencies": {
"is-hotkey": "^0.2.0",
"slate-history": "^0.113.1"
}
}