@bigbinary/neeto-editor 0.2.2 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-editor",
3
- "version": "0.2.2",
3
+ "version": "0.2.6",
4
4
  "main": "./index.js",
5
5
  "description": "Neeto Editor is the library that drives the rich text experience in all Neeto products built at BigBinary",
6
6
  "keywords": [
@@ -13,7 +13,6 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "@bigbinary/neeto-icons": "^1.8.6",
16
- "@risingstack/react-easy-state": "^6.3.0",
17
16
  "@tailwindcss/typography": "^0.4.0",
18
17
  "@tippyjs/react": "^4.2.6",
19
18
  "@tiptap/extension-bubble-menu": "^2.0.0-beta.18",
@@ -37,13 +36,14 @@
37
36
  "@uppy/url": "^2.0.4",
38
37
  "@uppy/xhr-upload": "^2.0.5",
39
38
  "classnames": "^2.3.1",
39
+ "dompurify": "^2.3.3",
40
+ "highlight.js": "^11.3.1",
40
41
  "lodash.isempty": "^4.4.0",
41
42
  "lodash.isplainobject": "^4.0.6",
42
43
  "lowlight": "^1.20.0",
43
44
  "peer-deps-externals-webpack-plugin": "1.0.4",
44
45
  "react-hotkeys-hook": "^3.4.4",
45
46
  "react-icons": "^4.2.0",
46
- "react-outside-click-handler": "^1.3.0",
47
47
  "react-popper": "^2.2.5",
48
48
  "react-router-dom": "^6.0.2",
49
49
  "tippy.js": "^6.3.1"
@@ -1,11 +1,15 @@
1
1
  module.exports = {
2
- purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
3
- darkMode: false, // or 'media' or 'class'
4
- theme: {
5
- extend: {},
6
- },
7
- variants: {
8
- extend: {},
9
- },
10
- plugins: [require("@tailwindcss/typography")],
2
+ purge: [
3
+ "./lib/**/*.{js,jsx,ts,tsx}",
4
+ "./example/**/*.{js,jsx,ts,tsx}",
5
+ "./public/index.html",
6
+ ],
7
+ darkMode: false, // or 'media' or 'class'
8
+ theme: {
9
+ extend: {},
10
+ },
11
+ variants: {
12
+ extend: {},
13
+ },
14
+ plugins: [require("@tailwindcss/typography")],
11
15
  };
package/webpack.config.js CHANGED
@@ -43,9 +43,10 @@ module.exports = {
43
43
  plugins: [new PeerDepsExternalsPlugin()],
44
44
  resolve: {
45
45
  alias: {
46
- common: path.resolve(__dirname, "/lib/components/Common"),
46
+ components: path.resolve(__dirname, "/lib/components"),
47
47
  hooks: path.resolve(__dirname, "/lib/hooks"),
48
48
  constants: path.resolve(__dirname, "/lib/constants"),
49
+ utils: path.resolve(__dirname, "/lib/utils"),
49
50
  },
50
51
  },
51
52
  };
@@ -61,9 +61,10 @@ module.exports = {
61
61
  ],
62
62
  resolve: {
63
63
  alias: {
64
- common: path.resolve(__dirname, "/lib/components/Common"),
64
+ components: path.resolve(__dirname, "/lib/components"),
65
65
  hooks: path.resolve(__dirname, "/lib/hooks"),
66
66
  constants: path.resolve(__dirname, "/lib/constants"),
67
+ utils: path.resolve(__dirname, "/lib/utils"),
67
68
  },
68
69
  },
69
70
  };
Binary file
package/public/index.html DELETED
@@ -1,28 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="icon" href="./favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
- <meta name="theme-color" content="#000000" />
8
- <meta
9
- name="description"
10
- content="Web site created using create-react-app"
11
- />
12
- <title>Neeto Editor</title>
13
- </head>
14
- <body>
15
- <noscript>You need to enable JavaScript to run this app.</noscript>
16
- <div id="root"></div>
17
- <!--
18
- This HTML file is a template.
19
- If you open it directly in the browser, you will see an empty page.
20
-
21
- You can add webfonts, meta tags, or analytics to this file.
22
- The build step will place the bundled scripts into the <body> tag.
23
-
24
- To begin the development, run `npm start` or `yarn start`.
25
- To create a production bundle, use `npm run build` or `yarn build`.
26
- -->
27
- </body>
28
- </html>
package/public/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow: