Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.15 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
{
"name": "@portabletext/plugin-dnd",
"version": "2.0.28",
"description": "Track the drop position during drag and drop for custom drop indicators",
"keywords": [
"dnd",
"drag-and-drop",
"drop-indicator",
"plugin",
"portabletext"
],
"homepage": "https://portabletext.org",
"bugs": {
"url": "https://github.com/portabletext/editor/issues"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"repository": {
"type": "git",
"url": "https://github.com/portabletext/editor.git",
"directory": "packages/plugin-dnd"
},
"files": [
"dist"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
}
},
"scripts": {
"build": "pkg-utils build --strict --check",
"check:types": "tsc",
"check:types:watch": "tsc --watch",
"clean": "del .turbo && del dist && del node_modules",
"dev": "pkg-utils watch",
"prepublishOnly": "turbo run build",
"test:browser": "vitest --run --project browser",
"test:browser:chromium": "vitest --run --project \"browser (chromium)\"",
"test:unit": "vitest --run --project unit",
"test:watch": "vitest"
},
"devDependencies": {
"@portabletext/editor": "workspace:^",
"@portabletext/schema": "workspace:^",
"@portabletext/test": "workspace:^",
"@sanity/pkg-utils": "catalog:tooling",
"@sanity/tsconfig": "catalog:tooling",
"@types/react": "catalog:tooling",
"@types/react-dom": "catalog:tooling",
"@vitejs/plugin-react": "catalog:tooling",
"@vitest/browser": "catalog:tooling",
"@vitest/browser-playwright": "catalog:tooling",
"oxc-transform-react": "catalog:tooling",
"react": "catalog:",
"typescript": "catalog:tooling",
"vite": "catalog:tooling",
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^",
"react": "^19.2"
},
"engines": {
"node": ">=22.12"
}
}