package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "markdown-it",
  3. "version": "14.1.0",
  4. "description": "Markdown-it - modern pluggable markdown parser.",
  5. "keywords": [
  6. "markdown",
  7. "parser",
  8. "commonmark",
  9. "markdown-it",
  10. "markdown-it-plugin"
  11. ],
  12. "repository": "markdown-it/markdown-it",
  13. "license": "MIT",
  14. "main": "dist/index.cjs.js",
  15. "module": "index.mjs",
  16. "exports": {
  17. ".": {
  18. "import": "./index.mjs",
  19. "require": "./dist/index.cjs.js"
  20. },
  21. "./*": {
  22. "require": "./*",
  23. "import": "./*"
  24. }
  25. },
  26. "bin": {
  27. "markdown-it": "bin/markdown-it.mjs"
  28. },
  29. "scripts": {
  30. "lint": "eslint .",
  31. "test": "npm run lint && CJS_ONLY=1 npm run build && c8 --exclude dist --exclude test -r text -r html -r lcov mocha && node support/specsplit.mjs",
  32. "doc": "node support/build_doc.mjs",
  33. "gh-doc": "npm run doc && gh-pages -d apidoc -f",
  34. "demo": "npm run lint && node support/build_demo.mjs",
  35. "gh-demo": "npm run demo && gh-pages -d demo -f -b master -r git@github.com:markdown-it/markdown-it.github.io.git",
  36. "build": "rollup -c support/rollup.config.mjs",
  37. "benchmark-deps": "npm install --prefix benchmark/extra/ -g marked@0.3.6 commonmark@0.26.0 markdown-it/markdown-it.git#2.2.1",
  38. "specsplit": "support/specsplit.mjs good -o test/fixtures/commonmark/good.txt && support/specsplit.mjs bad -o test/fixtures/commonmark/bad.txt && support/specsplit.mjs",
  39. "todo": "grep 'TODO' -n -r ./lib 2>/dev/null",
  40. "prepublishOnly": "npm test && npm run build && npm run gh-demo && npm run gh-doc"
  41. },
  42. "files": [
  43. "index.mjs",
  44. "lib/",
  45. "dist/"
  46. ],
  47. "dependencies": {
  48. "argparse": "^2.0.1",
  49. "entities": "^4.4.0",
  50. "linkify-it": "^5.0.0",
  51. "mdurl": "^2.0.0",
  52. "punycode.js": "^2.3.1",
  53. "uc.micro": "^2.1.0"
  54. },
  55. "devDependencies": {
  56. "@rollup/plugin-babel": "^6.0.4",
  57. "@rollup/plugin-commonjs": "^25.0.7",
  58. "@rollup/plugin-node-resolve": "^15.2.3",
  59. "@rollup/plugin-terser": "^0.4.4",
  60. "ansi": "^0.3.0",
  61. "benchmark": "~2.1.0",
  62. "c8": "^8.0.1",
  63. "chai": "^4.2.0",
  64. "eslint": "^8.4.1",
  65. "eslint-config-standard": "^17.1.0",
  66. "express": "^4.14.0",
  67. "gh-pages": "^6.1.0",
  68. "highlight.js": "^11.9.0",
  69. "jest-worker": "^29.7.0",
  70. "markdown-it-abbr": "^2.0.0",
  71. "markdown-it-container": "^4.0.0",
  72. "markdown-it-deflist": "^3.0.0",
  73. "markdown-it-emoji": "^3.0.0",
  74. "markdown-it-footnote": "^4.0.0",
  75. "markdown-it-for-inline": "^2.0.1",
  76. "markdown-it-ins": "^4.0.0",
  77. "markdown-it-mark": "^4.0.0",
  78. "markdown-it-sub": "^2.0.0",
  79. "markdown-it-sup": "^2.0.0",
  80. "markdown-it-testgen": "^0.1.3",
  81. "mocha": "^10.2.0",
  82. "ndoc": "^6.0.0",
  83. "needle": "^3.0.0",
  84. "rollup": "^4.5.0",
  85. "shelljs": "^0.8.4",
  86. "supertest": "^6.0.1"
  87. },
  88. "mocha": {
  89. "inline-diffs": true,
  90. "timeout": 60000
  91. }
  92. }