package.json 2.3 KB

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