package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "marked",
  3. "description": "A markdown parser built for speed",
  4. "author": "Christopher Jeffrey",
  5. "version": "1.1.0",
  6. "main": "./src/marked.js",
  7. "browser": "./lib/marked.js",
  8. "bin": "./bin/marked",
  9. "man": "./man/marked.1",
  10. "files": [
  11. "bin/",
  12. "lib/",
  13. "src/",
  14. "man/",
  15. "marked.min.js"
  16. ],
  17. "repository": "git://github.com/markedjs/marked.git",
  18. "homepage": "https://marked.js.org",
  19. "bugs": {
  20. "url": "http://github.com/markedjs/marked/issues"
  21. },
  22. "license": "MIT",
  23. "keywords": [
  24. "markdown",
  25. "markup",
  26. "html"
  27. ],
  28. "tags": [
  29. "markdown",
  30. "markup",
  31. "html"
  32. ],
  33. "devDependencies": {
  34. "@babel/core": "^7.9.6",
  35. "@babel/preset-env": "^7.9.6",
  36. "@markedjs/html-differ": "^3.0.2",
  37. "cheerio": "^1.0.0-rc.3",
  38. "commonmark": "0.29.x",
  39. "eslint": "^7.0.0",
  40. "eslint-config-standard": "^14.1.1",
  41. "eslint-plugin-import": "^2.20.2",
  42. "eslint-plugin-node": "^11.1.0",
  43. "eslint-plugin-promise": "^4.2.1",
  44. "eslint-plugin-standard": "^4.0.1",
  45. "front-matter": "^3.2.1",
  46. "jasmine": "^3.5.0",
  47. "markdown": "0.5.x",
  48. "markdown-it": "10.x",
  49. "node-fetch": "^2.6.0",
  50. "rollup": "^2.10.2",
  51. "rollup-plugin-babel": "^4.4.0",
  52. "rollup-plugin-commonjs": "^10.1.0",
  53. "rollup-plugin-license": "^2.0.1",
  54. "uglify-js": "^3.9.3",
  55. "vuln-regex-detector": "^1.3.0"
  56. },
  57. "scripts": {
  58. "test": "jasmine --config=jasmine.json",
  59. "test:all": "npm test && npm run test:lint",
  60. "test:unit": "npm test -- test/unit/**/*-spec.js",
  61. "test:specs": "npm test -- test/specs/**/*-spec.js",
  62. "test:lint": "eslint bin/marked .",
  63. "test:redos": "node test/vuln-regex.js",
  64. "test:update": "node test/update-specs.js",
  65. "bench": "npm run rollup && node test/bench.js",
  66. "lint": "eslint --fix bin/marked .",
  67. "build:reset": "git checkout upstream/master lib/marked.js lib/marked.esm.js marked.min.js",
  68. "build": "npm run rollup && npm run minify",
  69. "rollup": "npm run rollup:umd && npm run rollup:esm",
  70. "rollup:umd": "rollup -c rollup.config.js",
  71. "rollup:esm": "rollup -c rollup.config.esm.js",
  72. "minify": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
  73. "preversion": "npm run build && (git diff --quiet || git commit -am build)"
  74. },
  75. "engines": {
  76. "node": ">= 8.16.2"
  77. },
  78. "dependencies": {
  79. "lodash": "^4.17.19"
  80. }
  81. }