2022-04-05 22:53:04 +05:00
|
|
|
{
|
2022-08-29 23:30:48 +05:00
|
|
|
"name": "@notesnook/editor",
|
2024-09-23 15:47:09 +05:00
|
|
|
"version": "2.1.3",
|
2024-09-23 15:14:00 +05:00
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"module": "./dist/index.mjs",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"require": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"default": "./dist/index.js"
|
|
|
|
|
},
|
|
|
|
|
"import": {
|
|
|
|
|
"types": "./dist/index.d.mts",
|
|
|
|
|
"default": "./dist/index.mjs"
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-09-24 13:14:23 +05:00
|
|
|
"./styles/*.css": "./dist/styles/*.css",
|
|
|
|
|
"./tools": "./src/toolbar/tool-definitions.ts",
|
|
|
|
|
"./fonts": "./src/utils/font.ts"
|
2024-09-23 15:14:00 +05:00
|
|
|
},
|
2022-09-26 15:30:16 +05:00
|
|
|
"license": "GPL-3.0-or-later",
|
2022-04-05 22:53:04 +05:00
|
|
|
"dependencies": {
|
2024-09-23 15:14:00 +05:00
|
|
|
"@notesnook/common": "file:../common",
|
2023-08-01 12:07:21 +05:00
|
|
|
"@notesnook/theme": "file:../theme",
|
|
|
|
|
"@notesnook/ui": "file:../ui",
|
2024-09-12 12:50:39 +05:00
|
|
|
"@social-embed/lib": "^0.1.0-next.7",
|
|
|
|
|
"@tiptap/core": "2.6.6",
|
|
|
|
|
"@tiptap/extension-blockquote": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-bullet-list": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-character-count": "2.6.6",
|
|
|
|
|
"@tiptap/extension-code": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-color": "2.6.6",
|
|
|
|
|
"@tiptap/extension-font-family": "2.6.6",
|
|
|
|
|
"@tiptap/extension-heading": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-history": "2.6.6",
|
|
|
|
|
"@tiptap/extension-horizontal-rule": "2.6.6",
|
|
|
|
|
"@tiptap/extension-list-item": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-list-keymap": "2.6.6",
|
|
|
|
|
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
|
|
|
"@tiptap/extension-placeholder": "2.6.6",
|
|
|
|
|
"@tiptap/extension-subscript": "2.6.6",
|
|
|
|
|
"@tiptap/extension-superscript": "2.6.6",
|
|
|
|
|
"@tiptap/extension-table": "2.6.6",
|
|
|
|
|
"@tiptap/extension-table-cell": "2.6.6",
|
|
|
|
|
"@tiptap/extension-table-header": "2.6.6",
|
|
|
|
|
"@tiptap/extension-table-row": "2.6.6",
|
|
|
|
|
"@tiptap/extension-task-item": "2.6.6",
|
|
|
|
|
"@tiptap/extension-task-list": "2.6.6",
|
|
|
|
|
"@tiptap/extension-text-align": "2.6.6",
|
|
|
|
|
"@tiptap/extension-text-style": "2.6.6",
|
|
|
|
|
"@tiptap/extension-underline": "2.6.6",
|
|
|
|
|
"@tiptap/pm": "2.6.6",
|
|
|
|
|
"@tiptap/starter-kit": "2.6.6",
|
2024-04-09 01:28:45 +05:00
|
|
|
"alfaaz": "^1.1.0",
|
2024-09-12 12:50:39 +05:00
|
|
|
"async-mutex": "^0.5.0",
|
|
|
|
|
"clipboard-polyfill": "4.1.0",
|
|
|
|
|
"detect-indent": "^7.0.1",
|
|
|
|
|
"entities": "^5.0.0",
|
|
|
|
|
"katex": "0.16.11",
|
2024-01-22 17:27:25 +05:00
|
|
|
"linkifyjs": "^4.1.3",
|
2024-09-12 12:50:39 +05:00
|
|
|
"nanoid": "^5.0.7",
|
2022-05-30 05:08:09 +05:00
|
|
|
"prism-themes": "^1.9.0",
|
2023-08-28 10:17:45 +05:00
|
|
|
"prosemirror-codemark": "^0.4.2",
|
2024-09-12 12:50:39 +05:00
|
|
|
"prosemirror-view": "1.34.2",
|
|
|
|
|
"re-resizable": "^6.9.18",
|
2023-11-30 15:02:37 +05:00
|
|
|
"react-colorful": "^5.6.1",
|
2022-06-02 07:26:44 +05:00
|
|
|
"redent": "^4.0.0",
|
2023-11-30 15:02:37 +05:00
|
|
|
"refractor": "^4.8.1",
|
2022-06-02 07:26:44 +05:00
|
|
|
"strip-indent": "^4.0.0",
|
2024-09-12 12:50:39 +05:00
|
|
|
"unfurl.js": "^6.4.0"
|
2022-04-05 22:53:04 +05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-09-12 12:50:39 +05:00
|
|
|
"@emotion/react": "11.13.3",
|
|
|
|
|
"@mdi/js": "^7.4.47",
|
2023-08-01 12:07:21 +05:00
|
|
|
"@mdi/react": "^1.6.1",
|
2024-09-12 12:50:39 +05:00
|
|
|
"@theme-ui/components": "^0.16.2",
|
|
|
|
|
"@theme-ui/core": "^0.16.2",
|
|
|
|
|
"@types/katex": "^0.16.7",
|
|
|
|
|
"@types/prismjs": "^1.26.4",
|
|
|
|
|
"@types/react": "^18.3.5",
|
|
|
|
|
"@types/react-color": "^3.0.12",
|
|
|
|
|
"@types/react-dom": "^18.3.0",
|
2023-11-30 15:02:37 +05:00
|
|
|
"@types/react-modal": "^3.16.3 ",
|
2024-09-12 12:50:39 +05:00
|
|
|
"@types/tinycolor2": "^1.4.6",
|
|
|
|
|
"framer-motion": "^11.5.4",
|
|
|
|
|
"happy-dom": "^15.7.4",
|
2022-05-30 05:08:09 +05:00
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2024-09-12 12:50:39 +05:00
|
|
|
"prosemirror-test-builder": "^1.1.1",
|
|
|
|
|
"react": "18.3.1",
|
|
|
|
|
"react-dom": "18.3.1",
|
2024-01-22 17:27:25 +05:00
|
|
|
"react-modal": "3.16.1",
|
|
|
|
|
"tinycolor2": "^1.6.0",
|
2024-09-12 12:50:39 +05:00
|
|
|
"vitest": "^2.0.5",
|
|
|
|
|
"web-vitals": "^4.2.3",
|
|
|
|
|
"zustand": "4.5.5"
|
2022-04-05 22:53:04 +05:00
|
|
|
},
|
2022-05-31 08:58:33 +05:00
|
|
|
"peerDependencies": {
|
2023-11-30 15:02:37 +05:00
|
|
|
"@emotion/react": ">=11",
|
2023-08-01 12:07:21 +05:00
|
|
|
"@mdi/js": ">=7.2.96",
|
|
|
|
|
"@mdi/react": ">=1.6.1",
|
2023-11-30 15:02:37 +05:00
|
|
|
"@theme-ui/components": ">=0.16.0",
|
|
|
|
|
"@theme-ui/core": ">=0.16.0",
|
2024-01-22 17:27:25 +05:00
|
|
|
"framer-motion": ">=10",
|
2023-11-30 15:02:37 +05:00
|
|
|
"react": ">=18",
|
2024-01-22 17:27:25 +05:00
|
|
|
"react-dom": ">=18",
|
|
|
|
|
"react-modal": ">=3",
|
|
|
|
|
"tinycolor2": ">=1.6",
|
|
|
|
|
"zustand": ">=4"
|
2022-05-31 08:58:33 +05:00
|
|
|
},
|
2022-04-05 22:53:04 +05:00
|
|
|
"scripts": {
|
2023-03-06 14:52:41 +05:00
|
|
|
"test": "vitest run",
|
2023-07-05 13:40:03 +05:00
|
|
|
"prebuild": "node ./scripts/build.mjs",
|
2023-08-02 15:35:15 +05:00
|
|
|
"postbuild": "node ./scripts/postbuild.mjs",
|
2023-07-05 13:40:03 +05:00
|
|
|
"prewatch": "node ./scripts/build.mjs",
|
2023-08-01 12:07:21 +05:00
|
|
|
"start": "npm run watch",
|
2023-04-05 01:53:16 +05:00
|
|
|
"prepublishOnly": "npm run build && npm run test",
|
2024-09-23 15:14:00 +05:00
|
|
|
"postinstall": "patch-package",
|
2024-09-24 13:14:23 +05:00
|
|
|
"build": "tsup-node src/index.ts src/utils/font.ts src/toolbar/tool-definitions.ts src/toolbar/icons.ts",
|
2024-09-23 15:14:00 +05:00
|
|
|
"watch": "npm run build -- --watch"
|
2022-07-15 10:11:38 +05:00
|
|
|
},
|
2023-01-11 12:11:23 +05:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git://github.com/streetwriters/notesnook.git",
|
|
|
|
|
"directory": "packages/editor"
|
2022-04-05 22:53:04 +05:00
|
|
|
}
|
|
|
|
|
}
|