package.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. {
  2. "_from": "micromark@~2.11.0",
  3. "_id": "micromark@2.11.4",
  4. "_inBundle": false,
  5. "_integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==",
  6. "_location": "/micromark",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "micromark@~2.11.0",
  12. "name": "micromark",
  13. "escapedName": "micromark",
  14. "rawSpec": "~2.11.0",
  15. "saveSpec": null,
  16. "fetchSpec": "~2.11.0"
  17. },
  18. "_requiredBy": [
  19. "/mdast-util-from-markdown"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz",
  22. "_shasum": "d13436138eea826383e822449c9a5c50ee44665a",
  23. "_spec": "micromark@~2.11.0",
  24. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\mdast-util-from-markdown",
  25. "author": {
  26. "name": "Titus Wormer",
  27. "email": "tituswormer@gmail.com",
  28. "url": "https://wooorm.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/micromark/micromark/issues"
  32. },
  33. "bundleDependencies": false,
  34. "contributors": [
  35. {
  36. "name": "Titus Wormer",
  37. "email": "tituswormer@gmail.com",
  38. "url": "https://wooorm.com"
  39. },
  40. {
  41. "name": "Bogdan Chadkin",
  42. "email": "trysound@yandex.ru"
  43. },
  44. {
  45. "name": "Christian Murphy",
  46. "email": "christian.murphy.42@gmail.com"
  47. },
  48. {
  49. "name": "Marouane Fazouane",
  50. "email": "fazouanem3@gmail.com"
  51. },
  52. {
  53. "name": "John Otander",
  54. "email": "johnotander@gmail.com",
  55. "url": "https://johno.com"
  56. },
  57. {
  58. "name": "Stephan Schneider",
  59. "email": "stephanschndr@gmail.com"
  60. },
  61. {
  62. "name": "Victor Felder",
  63. "email": "victor@draft.li",
  64. "url": "https://draft.li"
  65. },
  66. {
  67. "name": "Mudit Ameta",
  68. "email": "zeusdeux@gmail.com",
  69. "url": "https://mudit.xyz"
  70. },
  71. {
  72. "name": "Merlijn Vos",
  73. "email": "merlijn@soverin.net"
  74. }
  75. ],
  76. "dependencies": {
  77. "debug": "^4.0.0",
  78. "parse-entities": "^2.0.0"
  79. },
  80. "deprecated": false,
  81. "description": "small commonmark compliant markdown parser with positional info and concrete tokens",
  82. "devDependencies": {
  83. "@babel/core": "^7.0.0",
  84. "@rollup/plugin-babel": "^5.0.0",
  85. "@rollup/plugin-commonjs": "^17.0.0",
  86. "@rollup/plugin-node-resolve": "^11.0.0",
  87. "@types/events": "^3.0.0",
  88. "@unicode/unicode-13.0.0": "^1.0.0",
  89. "babel-plugin-inline-constants": "^1.0.0",
  90. "babel-plugin-unassert": "^3.0.0",
  91. "babel-plugin-undebug": "^1.0.0",
  92. "c8": "^7.0.0",
  93. "character-entities": "^1.0.0",
  94. "commonmark.json": "^0.29.0",
  95. "concat-stream": "^2.0.0",
  96. "cross-env": "^7.0.0",
  97. "dtslint": "^4.0.0",
  98. "eslint-plugin-es": "^4.0.0",
  99. "eslint-plugin-security": "^1.0.0",
  100. "esm": "^3.0.0",
  101. "glob": "^7.0.0",
  102. "gzip-size-cli": "^4.0.0",
  103. "jsfuzz": "1.0.14",
  104. "ms": "^2.0.0",
  105. "patch-package": "^6.0.0",
  106. "prettier": "^2.0.0",
  107. "regenerate": "^1.0.0",
  108. "remark-cli": "^9.0.0",
  109. "remark-preset-wooorm": "^8.0.0",
  110. "resolve-from": "^5.0.0",
  111. "rollup": "^2.0.0",
  112. "rollup-plugin-terser": "^7.0.0",
  113. "tape": "^5.0.0",
  114. "xo": "^0.37.0"
  115. },
  116. "files": [
  117. "dist/",
  118. "lib/",
  119. "buffer.d.ts",
  120. "buffer.js",
  121. "buffer.mjs",
  122. "index.js",
  123. "index.mjs",
  124. "index.d.ts",
  125. "stream.d.ts",
  126. "stream.js",
  127. "stream.mjs"
  128. ],
  129. "funding": [
  130. {
  131. "type": "GitHub Sponsors",
  132. "url": "https://github.com/sponsors/unifiedjs"
  133. },
  134. {
  135. "type": "OpenCollective",
  136. "url": "https://opencollective.com/unified"
  137. }
  138. ],
  139. "homepage": "https://github.com/micromark/micromark#readme",
  140. "keywords": [
  141. "commonmark",
  142. "compiler",
  143. "gfm",
  144. "html",
  145. "lexer",
  146. "markdown",
  147. "markup",
  148. "md",
  149. "unified",
  150. "parse",
  151. "parser",
  152. "plugin",
  153. "process",
  154. "remark",
  155. "render",
  156. "renderer",
  157. "token",
  158. "tokenizer"
  159. ],
  160. "license": "MIT",
  161. "main": "./index.js",
  162. "name": "micromark",
  163. "prettier": {
  164. "tabWidth": 2,
  165. "useTabs": false,
  166. "singleQuote": true,
  167. "bracketSpacing": false,
  168. "semi": false,
  169. "trailingComma": "none"
  170. },
  171. "remarkConfig": {
  172. "plugins": [
  173. "preset-wooorm",
  174. [
  175. "lint-no-html",
  176. false
  177. ]
  178. ]
  179. },
  180. "repository": {
  181. "type": "git",
  182. "url": "git+https://github.com/micromark/micromark.git"
  183. },
  184. "scripts": {
  185. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  186. "generate": "npm run generate-lib && npm run generate-dist && npm run generate-size",
  187. "generate-dist": "npm run generate-dist-types && npm run generate-dist-js",
  188. "generate-dist-js": "cross-env BUILD=dist rollup -c --silent",
  189. "generate-dist-types": "node --experimental-modules script/copy-dict.mjs",
  190. "generate-lib": "npm run generate-lib-types && npm run generate-lib-expressions && npm run generate-lib-cjs",
  191. "generate-lib-cjs": "rollup -c --silent",
  192. "generate-lib-expressions": "node --experimental-modules script/generate-expressions.mjs",
  193. "generate-lib-types": "node --experimental-modules script/generate-constant-typings.mjs",
  194. "generate-size": "cross-env BUILD=size rollup -c --silent && gzip-size micromark.min.js && gzip-size --raw micromark.min.js",
  195. "pretest-fuzz": "patch-package --patch-dir script/patches && node script/generate-fixtures.mjs",
  196. "test": "npm run generate && npm run format && npm run test-coverage && npm run test-types",
  197. "test-api": "node --experimental-modules test/index.mjs",
  198. "test-coverage": "c8 --check-coverage --lines 100 --functions 100 --branches 100 --reporter lcov node --experimental-modules test/index.mjs",
  199. "test-fuzz": "cross-env NODE_OPTIONS=\"-r esm\" timeout 15m jsfuzz test/fuzz.js test/fixtures",
  200. "test-types": "dtslint ."
  201. },
  202. "types": "index.d.ts",
  203. "version": "2.11.4",
  204. "xo": {
  205. "esnext": false,
  206. "extensions": [
  207. "mjs"
  208. ],
  209. "prettier": true,
  210. "envs": [
  211. "shared-node-browser"
  212. ],
  213. "rules": {
  214. "import/extensions": [
  215. "error",
  216. "always"
  217. ]
  218. },
  219. "overrides": [
  220. {
  221. "files": [
  222. "lib/**/*.{js,mjs}"
  223. ],
  224. "plugin": [
  225. "es"
  226. ],
  227. "extends": [
  228. "plugin:es/no-new-in-es2015",
  229. "plugin:security/recommended"
  230. ],
  231. "rules": {
  232. "complexity": "off",
  233. "es/no-array-from": "off",
  234. "es/no-object-assign": "off",
  235. "es/no-modules": "off",
  236. "import/no-mutable-exports": "off",
  237. "import/no-anonymous-default-export": "off",
  238. "guard-for-in": "off",
  239. "max-depth": "off",
  240. "no-multi-assign": "off",
  241. "no-unmodified-loop-condition": "off",
  242. "security/detect-object-injection": "off",
  243. "unicorn/explicit-length-check": "off",
  244. "unicorn/prefer-includes": "off",
  245. "unicorn/prefer-number-properties": "off"
  246. }
  247. },
  248. {
  249. "files": [
  250. "**/*.d.ts"
  251. ],
  252. "rules": {
  253. "import/extensions": [
  254. "error",
  255. "never"
  256. ]
  257. }
  258. },
  259. {
  260. "files": [
  261. "test/**/*.{js,mjs}"
  262. ],
  263. "rules": {
  264. "import/no-unassigned-import": "off"
  265. }
  266. }
  267. ],
  268. "ignores": [
  269. "dist/",
  270. "lib/**/*.js",
  271. "micromark.test.ts"
  272. ]
  273. }
  274. }