-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.96 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.96 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
{
"name": "datocms-plugin-single-line-strong",
"version": "0.1.1",
"type": "module",
"description": "DatoCMS manual field extension: single-line text editor with a bold mark, stored as a segment array on a JSON field.",
"homepage": "https://github.com/9elements/single-line-strong-plugin",
"license": "MIT",
"author": "9elements <hi@9elements.com> (https://9elements.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/9elements/single-line-strong-plugin.git"
},
"bugs": {
"url": "https://github.com/9elements/single-line-strong-plugin/issues"
},
"keywords": [
"datocms",
"datocms-plugin",
"field-editor"
],
"files": [
"dist",
"docs"
],
"datoCmsPlugin": {
"title": "Single-line strong",
"coverImage": "docs/cover.png",
"previewImage": "docs/preview.mp4",
"entryPoint": "dist/index.html",
"permissions": []
},
"scripts": {
"dev": "vite",
"test": "vitest",
"build": "tsc -b && vite build",
"preview": "vite preview",
"typecheck": "tsc -b --noEmit",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@lexical/react": "^0.46.0",
"@lexical/selection": "^0.46.0",
"@lexical/utils": "^0.46.0",
"datocms-plugin-sdk": "^2.2.5",
"datocms-react-ui": "^2.2.5",
"lexical": "^0.46.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@lexical/headless": "^0.46.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^6.0.3",
"typescript": "^6.0.3",
"vite": "^8.1.3",
"vitest": "^4.1.10"
},
"//overrides": "datocms-react-ui pulls react-intersection-observer@8, which caps React at ^18 and makes npm install a second, nested React 18 copy. Two React copies = null hook dispatcher (`Cannot read properties of null (reading 'useEffect')`). Force every dependency onto our single React 19.",
"overrides": {
"react": "$react",
"react-dom": "$react-dom"
}
}