/
package.json
106 lines (106 loc) · 2.81 KB
/
package.json
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
{
"name": "@sanity/portable-text-editor",
"version": "3.0.6",
"description": "Portable Text Editor made in React",
"types": "./lib/dts/src/index.d.ts",
"source": "./src/index.ts",
"module": "./lib/index.esm.js",
"main": "./lib/index.js",
"files": [
"lib",
"src"
],
"author": "Sanity.io <hello@sanity.io>",
"engines": {
"node": ">=14.0.0"
},
"license": "MIT",
"scripts": {
"build": "pkg-utils build --tsconfig tsconfig.lib.json",
"check:package": "pkg-utils --strict --tsconfig tsconfig.lib.json",
"clean": "rimraf lib",
"eslint": "eslint 'src/**/*.{ts,js,tsx}'",
"gen-doc": "typedoc --out docs src",
"postbuild": "run-s check:package",
"prebuild": "run-s clean",
"prettier": "prettier --write './**/*.{ts,tsx,js,css,html}'",
"start": "cd ./test/ && ts-node serve",
"test": "jest",
"test:watch": "jest --watch",
"watch": "pkg-utils watch --tsconfig tsconfig.lib.json"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"portable-text-editor",
"structure",
"api",
"collaborative",
"editor",
"text",
"portable-text"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@sanity/block-tools": "3.0.6",
"@sanity/schema": "3.0.6",
"@sanity/slate-react": "2.30.1",
"@sanity/types": "3.0.6",
"@sanity/util": "3.0.6",
"debug": "^3.2.7",
"is-hotkey": "^0.1.6",
"lodash": "^4.17.21",
"slate": "0.81.1"
},
"devDependencies": {
"@sanity/ui": "^1.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/debug": "^4.1.5",
"@types/express": "^4.16.1",
"@types/express-ws": "^3.0.1",
"@types/jest": "^27.0.3",
"@types/jest-dev-server": "^4.2.1",
"@types/lodash": "^4.14.149",
"@types/node": "^14.18.9",
"@types/node-ipc": "^9.0.0",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/ws": "~8.5.3",
"@vitejs/plugin-react": "^2.0.0",
"diff-match-patch": "^1.0.4",
"express": "^4.17.1",
"express-ws": "^5.0.2",
"jest-dev-server": "^5.0.3",
"jest-environment-jsdom": "^27.3.1",
"jest-environment-node": "^27.1.0",
"node-ipc": "^9.2.0",
"puppeteer": "^19.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"rxjs": "^6.5.3",
"styled-components": "^5.2.0",
"typedoc": "^0.17.3",
"vite": "^3.0.0"
},
"peerDependencies": {
"react": "^16.9 || ^17 || ^18",
"rxjs": ">=6.5.3",
"styled-components": "^5.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/portable-text-editor"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
},
"homepage": "https://www.sanity.io/"
}