-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.25 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@portabletext/plugin-table",
"version": "2.0.14",
"description": "Tables as real Portable Text, edited with spreadsheet-grade selection",
"keywords": [
"plugin",
"portabletext",
"table"
],
"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-table"
},
"files": [
"dist"
],
"type": "module",
"sideEffects": [
"*.css"
],
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./dist/index.js"
},
"./ui": {
"source": "./src/ui/index.ts",
"default": "./dist/ui/index.js"
},
"./ui/styles.css": {
"source": "./src/ui/styles.css",
"types": "./dist/ui/styles-css.d.ts",
"browser": "./dist/ui/styles.css",
"style": "./dist/ui/styles.css",
"node": "./dist/ui/styles-css.js",
"default": "./dist/ui/styles-css.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"exports": {
".": "./dist/index.js",
"./ui": "./dist/ui/index.js",
"./package.json": "./package.json",
"./ui/styles.css": {
"types": "./dist/ui/styles-css.d.ts",
"browser": "./dist/ui/styles.css",
"style": "./dist/ui/styles.css",
"node": "./dist/ui/styles-css.js",
"default": "./dist/ui/styles-css.js"
}
}
},
"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": "vitest --run",
"test:browser": "vitest --run --project browser",
"test:browser:chromium": "vitest run --project \"browser (chromium)\"",
"test:browser:chromium:watch": "vitest watch --project \"browser (chromium)\"",
"test:browser:firefox": "vitest run --project \"browser (firefox)\"",
"test:browser:firefox:watch": "vitest watch --project \"browser (firefox)\"",
"test:browser:webkit": "vitest run --project \"browser (webkit)\"",
"test:browser:webkit:watch": "vitest watch --project \"browser (webkit)\"",
"test:watch": "vitest"
},
"dependencies": {
"@floating-ui/dom": "catalog:",
"@portabletext/keyboard-shortcuts": "workspace:^"
},
"devDependencies": {
"@portabletext/editor": "workspace:^",
"@portabletext/test": "workspace:^",
"@sanity/pkg-utils": "catalog:tooling",
"@sanity/tsconfig": "catalog:tooling",
"@tsdown/css": "catalog:tooling",
"@types/react": "catalog:tooling",
"@vitejs/plugin-react": "catalog:tooling",
"@vitest/browser": "catalog:tooling",
"@vitest/browser-playwright": "catalog:tooling",
"oxc-transform-react": "catalog:tooling",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:tooling",
"vite": "catalog:tooling",
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^",
"react": "^19.2",
"react-dom": "^19.2"
},
"engines": {
"node": ">=22.12"
}
}