package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "name": "@milkdown/prose",
  3. "type": "module",
  4. "version": "7.3.5",
  5. "license": "MIT",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/Milkdown/milkdown.git",
  9. "directory": "packages/prose"
  10. },
  11. "sideEffects": false,
  12. "exports": {
  13. ".": {
  14. "types": "./lib/index.d.ts",
  15. "import": "./lib/index.js"
  16. },
  17. "./commands": {
  18. "types": "./lib/commands.d.ts",
  19. "import": "./lib/commands.js"
  20. },
  21. "./dropcursor": {
  22. "types": "./lib/dropcursor.d.ts",
  23. "import": "./lib/dropcursor.js"
  24. },
  25. "./gapcursor": {
  26. "types": "./lib/gapcursor.d.ts",
  27. "import": "./lib/gapcursor.js"
  28. },
  29. "./history": {
  30. "types": "./lib/history.d.ts",
  31. "import": "./lib/history.js"
  32. },
  33. "./inputrules": {
  34. "types": "./lib/inputrules.d.ts",
  35. "import": "./lib/inputrules.js"
  36. },
  37. "./keymap": {
  38. "types": "./lib/keymap.d.ts",
  39. "import": "./lib/keymap.js"
  40. },
  41. "./model": {
  42. "types": "./lib/model.d.ts",
  43. "import": "./lib/model.js"
  44. },
  45. "./schema-list": {
  46. "types": "./lib/schema-list.d.ts",
  47. "import": "./lib/schema-list.js"
  48. },
  49. "./state": {
  50. "types": "./lib/state.d.ts",
  51. "import": "./lib/state.js"
  52. },
  53. "./transform": {
  54. "types": "./lib/transform.d.ts",
  55. "import": "./lib/transform.js"
  56. },
  57. "./view": {
  58. "types": "./lib/view.d.ts",
  59. "import": "./lib/view.js"
  60. },
  61. "./tables": {
  62. "types": "./lib/tables.d.ts",
  63. "import": "./lib/tables.js"
  64. },
  65. "./view/style/prosemirror.css": "./lib/style/prosemirror.css",
  66. "./tables/style/tables.css": "./lib/style/tables.css",
  67. "./gapcursor/style/gapcurosr.css": "./lib/style/gapcursor.css"
  68. },
  69. "main": "./lib/index.js",
  70. "files": [
  71. "lib",
  72. "src"
  73. ],
  74. "dependencies": {
  75. "prosemirror-changeset": "^2.2.1",
  76. "prosemirror-commands": "^1.5.2",
  77. "prosemirror-dropcursor": "^1.8.1",
  78. "prosemirror-gapcursor": "^1.3.2",
  79. "prosemirror-history": "^1.3.2",
  80. "prosemirror-inputrules": "^1.2.1",
  81. "prosemirror-keymap": "^1.2.2",
  82. "prosemirror-model": "^1.19.3",
  83. "prosemirror-schema-list": "^1.3.0",
  84. "prosemirror-state": "^1.4.3",
  85. "prosemirror-tables": "^1.3.4",
  86. "prosemirror-transform": "^1.7.5",
  87. "prosemirror-view": "^1.31.7",
  88. "tslib": "^2.5.0",
  89. "@milkdown/exception": "7.3.5"
  90. },
  91. "nx": {
  92. "targets": {
  93. "build": {
  94. "outputs": [
  95. "{projectRoot}/lib"
  96. ],
  97. "dependsOn": [
  98. {
  99. "target": "build",
  100. "projects": "dependencies"
  101. }
  102. ]
  103. },
  104. "tsc": {
  105. "outputs": [],
  106. "dependsOn": [
  107. {
  108. "target": "build",
  109. "projects": "dependencies"
  110. }
  111. ]
  112. }
  113. }
  114. },
  115. "scripts": {
  116. "start": "rollup -c -w",
  117. "test": "vitest",
  118. "tsc": "tsc --noEmit && echo",
  119. "build": "rollup -c && echo"
  120. },
  121. "types": "./lib/index.d.ts",
  122. "typesVersions": {
  123. "*": {
  124. "changeset": [
  125. "lib/changeset.d.ts"
  126. ],
  127. "commands": [
  128. "lib/commands.d.ts"
  129. ],
  130. "dropcursor": [
  131. "lib/dropcursor.d.ts"
  132. ],
  133. "gapcursor": [
  134. "lib/gapcursor.d.ts"
  135. ],
  136. "history": [
  137. "lib/history.d.ts"
  138. ],
  139. "inputrules": [
  140. "lib/inputrules.d.ts"
  141. ],
  142. "keymap": [
  143. "lib/keymap.d.ts"
  144. ],
  145. "model": [
  146. "lib/model.d.ts"
  147. ],
  148. "schema-list": [
  149. "lib/schema-list.d.ts"
  150. ],
  151. "state": [
  152. "lib/state.d.ts"
  153. ],
  154. "transform": [
  155. "lib/transform.d.ts"
  156. ],
  157. "view": [
  158. "lib/view.d.ts"
  159. ],
  160. "tables": [
  161. "lib/tables.d.ts"
  162. ]
  163. }
  164. }
  165. }