package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "marked",
  3. "description": "A markdown parser built for speed",
  4. "author": "Christopher Jeffrey",
  5. "version": "2.0.1",
  6. "main": "./src/marked.js",
  7. "browser": "./lib/marked.js",
  8. "bin": {
  9. "marked": "bin/marked"
  10. },
  11. "man": "./man/marked.1",
  12. "files": [
  13. "bin/",
  14. "lib/",
  15. "src/",
  16. "man/",
  17. "marked.min.js"
  18. ],
  19. "repository": "git://github.com/markedjs/marked.git",
  20. "homepage": "https://marked.js.org",
  21. "bugs": {
  22. "url": "http://github.com/markedjs/marked/issues"
  23. },
  24. "license": "MIT",
  25. "keywords": [
  26. "markdown",
  27. "markup",
  28. "html"
  29. ],
  30. "tags": [
  31. "markdown",
  32. "markup",
  33. "html"
  34. ],
  35. "devDependencies": {
  36. "@babel/core": "^7.12.17",
  37. "@babel/preset-env": "^7.12.17",
  38. "@markedjs/html-differ": "^3.0.4",
  39. "@rollup/plugin-babel": "^5.3.0",
  40. "@rollup/plugin-commonjs": "^17.1.0",
  41. "@semantic-release/commit-analyzer": "^8.0.1",
  42. "@semantic-release/git": "^9.0.0",
  43. "@semantic-release/github": "^7.2.0",
  44. "@semantic-release/npm": "^7.0.10",
  45. "@semantic-release/release-notes-generator": "^9.0.1",
  46. "cheerio": "^1.0.0-rc.5",
  47. "commonmark": "0.29.3",
  48. "eslint": "^7.20.0",
  49. "eslint-config-standard": "^16.0.2",
  50. "eslint-plugin-import": "^2.22.1",
  51. "eslint-plugin-node": "^11.1.0",
  52. "eslint-plugin-promise": "^4.3.1",
  53. "front-matter": "^4.0.2",
  54. "highlight.js": "^10.6.0",
  55. "jasmine": "^3.6.4",
  56. "markdown-it": "12.0.4",
  57. "node-fetch": "^2.6.1",
  58. "rollup": "^2.39.0",
  59. "rollup-plugin-license": "^2.2.0",
  60. "semantic-release": "^17.3.9",
  61. "titleize": "^2.1.0",
  62. "uglify-js": "^3.12.8",
  63. "vuln-regex-detector": "^1.3.0"
  64. },
  65. "scripts": {
  66. "test": "jasmine --config=jasmine.json",
  67. "test:all": "npm test && npm run test:lint",
  68. "test:unit": "npm test -- test/unit/**/*-spec.js",
  69. "test:specs": "npm test -- test/specs/**/*-spec.js",
  70. "test:lint": "eslint bin/marked .",
  71. "test:redos": "node test/vuln-regex.js",
  72. "test:update": "node test/update-specs.js",
  73. "rules": "node test/rules.js",
  74. "bench": "npm run rollup && node test/bench.js",
  75. "lint": "eslint --fix bin/marked .",
  76. "build:reset": "git checkout upstream/master lib/marked.js lib/marked.esm.js marked.min.js",
  77. "build": "npm run rollup && npm run minify",
  78. "build:docs": "node build-docs.js",
  79. "rollup": "npm run rollup:umd && npm run rollup:esm",
  80. "rollup:umd": "rollup -c rollup.config.js",
  81. "rollup:esm": "rollup -c rollup.config.esm.js",
  82. "minify": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
  83. "preversion": "npm run build && (git diff --quiet || git commit -am build)"
  84. },
  85. "engines": {
  86. "node": ">= 8.16.2"
  87. }
  88. }