package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "marked",
  3. "description": "A markdown parser built for speed",
  4. "author": "Christopher Jeffrey",
  5. "version": "16.2.0",
  6. "type": "module",
  7. "main": "./lib/marked.esm.js",
  8. "module": "./lib/marked.esm.js",
  9. "browser": "./lib/marked.umd.js",
  10. "types": "./lib/marked.d.ts",
  11. "bin": {
  12. "marked": "bin/marked.js"
  13. },
  14. "man": "./man/marked.1",
  15. "files": [
  16. "bin/",
  17. "lib/",
  18. "man/"
  19. ],
  20. "exports": {
  21. ".": {
  22. "types": "./lib/marked.d.ts",
  23. "default": "./lib/marked.esm.js"
  24. },
  25. "./bin/marked": "./bin/marked.js",
  26. "./package.json": "./package.json"
  27. },
  28. "publishConfig": {
  29. "provenance": true
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "git://github.com/markedjs/marked.git"
  34. },
  35. "homepage": "https://marked.js.org",
  36. "bugs": {
  37. "url": "http://github.com/markedjs/marked/issues"
  38. },
  39. "license": "MIT",
  40. "keywords": [
  41. "markdown",
  42. "markup",
  43. "html"
  44. ],
  45. "tags": [
  46. "markdown",
  47. "markup",
  48. "html"
  49. ],
  50. "devDependencies": {
  51. "@arethetypeswrong/cli": "^0.18.2",
  52. "@markedjs/eslint-config": "^1.0.12",
  53. "@markedjs/testutils": "15.0.11-0",
  54. "@semantic-release/commit-analyzer": "^13.0.1",
  55. "@semantic-release/git": "^10.0.1",
  56. "@semantic-release/github": "^11.0.4",
  57. "@semantic-release/npm": "^12.0.1",
  58. "@semantic-release/release-notes-generator": "^14.0.3",
  59. "cheerio": "1.1.2",
  60. "commonmark": "0.31.2",
  61. "cross-env": "^10.0.0",
  62. "dts-bundle-generator": "^9.5.1",
  63. "esbuild": "^0.25.8",
  64. "esbuild-plugin-umd-wrapper": "^3.0.0",
  65. "eslint": "^9.33.0",
  66. "highlight.js": "^11.11.1",
  67. "markdown-it": "14.1.0",
  68. "marked-highlight": "^2.2.2",
  69. "marked-man": "^2.1.0",
  70. "recheck": "^4.5.0",
  71. "rimraf": "^6.0.1",
  72. "semantic-release": "^24.2.7",
  73. "titleize": "^4.0.0",
  74. "tslib": "^2.8.1",
  75. "typescript": "5.9.2"
  76. },
  77. "scripts": {
  78. "bench": "npm run build && node test/bench.js",
  79. "build": "npm run build:esbuild && npm run build:types && npm run build:man",
  80. "build:docs": "npm run build && node docs/build.js",
  81. "build:esbuild": "node esbuild.config.js",
  82. "build:man": "marked-man man/marked.1.md > man/marked.1",
  83. "build:reset": "rimraf ./lib ./public",
  84. "build:types": "tsc && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.ts src/marked.ts",
  85. "lint": "eslint --fix",
  86. "rules": "node test/rules.js",
  87. "test": "npm run build:reset && npm run build:docs && npm run test:specs && npm run test:unit && npm run test:umd && npm run test:cjs && npm run test:types && npm run test:lint",
  88. "test:cjs": "node test/cjs-test.cjs",
  89. "test:lint": "eslint",
  90. "test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
  91. "test:redos": "node test/recheck.js > vuln.js",
  92. "test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
  93. "test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
  94. "test:types": "tsc --project tsconfig-type-test.json && attw -P --entrypoints . --profile esm-only",
  95. "test:umd": "node test/umd-test.js",
  96. "test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
  97. "test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
  98. "test:update": "node test/update-specs.js"
  99. },
  100. "engines": {
  101. "node": ">= 20"
  102. }
  103. }