File size: 2,179 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "@react-page/plugins-slate",
  "version": "0.0.0",
  "main": "./lib/index.js",
  "module": "./lib-es/index.js",
  "sideEffects": false,
  "typings": "./lib/index.d.ts",
  "author": "ORY GmbH",
  "license": "MIT",
  "repository": {
    "url": "https://github.com/react-page/react-page"
  },
  "scripts": {
    "build": "npm-run-all --parallel build:lib build:css",
    "build:watch": "npm-run-all --parallel build:lib:watch build:css:watch",
    "build:lib": "tsc -p ./tsconfig.json && tsc -p ./tsconfig-es.json",
    "build:lib:watch": "yarn build:lib -- --watch",
    "build:css": "postcss --config ../../../../config/postcss.config.js --dir lib/ src/index.css",
    "build:css:watch": "npm-run-all build:css -- -w",
    "docs": "documentation build ./lib/**/*.js --format md --github -o ../../../../docs/api/plugins/slate.md",
    "clean": "rimraf \"lib\" && rimraf \"lib-es\" && rm -f *.tsbuildinfo"
  },
  "peerDependencies": {
    "@mui/material": "*",
    "@types/react": "*",
    "react": ">= 16.14",
    "react-dom": ">= 16.14"
  },
  "dependencies": {
    "@emotion/is-prop-valid": "^1.2.0",
    "@mui/icons-material": "^5.8.0",
    "@react-page/editor": "0.0.0",
    "@xmldom/xmldom": "^0.8.1",
    "cssstyle": "^2.3.0",
    "deep-rename-keys": "^0.2.1",
    "is-hotkey": "^0.2.0",
    "lodash.clonedeep": "^4.5.0",
    "lodash.debounce": "^4.0.8",
    "lodash.flatten": "^4.4.0",
    "lodash.isempty": "^4.4.0",
    "lodash.isobject": "^3.0.2",
    "lodash.throttle": "^4.1.1",
    "react-portal": "^4.2.2",
    "redux-undo": "^1.0.0",
    "slate": "^0.78.0",
    "slate-hyperscript": "^0.77.0",
    "slate-react": "^0.79.0",
    "slate-react-presentation": "^0.1.1"
  },
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@types/is-hotkey": "0.1.1",
    "@types/lodash.debounce": "4.0.4",
    "@types/lodash.flatten": "^4.4.6",
    "@types/lodash.isempty": "^4.4.6",
    "@types/lodash.isobject": "^3.0.6",
    "@types/xmldom": "^0.1.31"
  },
  "browser": {
    "./lib/HtmlToSlate/parseHtml.js": "./lib/HtmlToSlate/parseHtml.browser.js",
    "./lib-es/HtmlToSlate/parseHtml.js": "./lib-es/HtmlToSlate/parseHtml.browser.js"
  }
}