tiptap/packages/extension-floating-menu/package.json
tomi-bigpi d3aeac4afa
Fix #3435 - CommonJS and ESM loading confusion (#3436)
* Fix TipTap getting loaded as CommonJS when the intent is to use the ES Module version.
* `package.json` change also makes explicit exports required
* Update `core` utilities exports to include all utilities
* Update tests to use exported utilities
2022-11-24 16:06:42 +01:00

46 lines
1.2 KiB
JSON

{
"name": "@tiptap/extension-floating-menu",
"description": "floating-menu extension for tiptap",
"version": "2.0.0-beta.202",
"homepage": "https://tiptap.dev",
"keywords": [
"tiptap",
"tiptap extension"
],
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ueberdosis"
},
"type": "module",
"exports": {
".": {
"types": "./dist/packages/extension-floating-menu/src/index.d.ts",
"import": "./dist/tiptap-extension-floating-menu.mjs",
"require": "./dist/tiptap-extension-floating-menu.cjs"
}
},
"main": "dist/tiptap-extension-floating-menu.cjs",
"umd": "dist/tiptap-extension-floating-menu.umd.js",
"module": "dist/tiptap-extension-floating-menu.mjs",
"types": "dist/packages/extension-floating-menu/src/index.d.ts",
"files": [
"src",
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"dependencies": {
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2",
"tippy.js": "^6.3.7"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
"directory": "packages/extension-floating-menu"
},
"sideEffects": false
}