package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. {
  2. "_from": "highlight.js@^11.0.1",
  3. "_id": "highlight.js@11.7.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-1rRqesRFhMO/PRF+G86evnyJkCgaZFOI+Z6kdj15TA18funfoqJXvgPCLSf0SWq3SRfg1j3HlDs8o4s3EGq1oQ==",
  6. "_location": "/highlight.js",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "highlight.js@^11.0.1",
  12. "name": "highlight.js",
  13. "escapedName": "highlight.js",
  14. "rawSpec": "^11.0.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^11.0.1"
  17. },
  18. "_requiredBy": [
  19. "/hexo-util"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.7.0.tgz",
  22. "_shasum": "3ff0165bc843f8c9bce1fd89e2fda9143d24b11e",
  23. "_spec": "highlight.js@^11.0.1",
  24. "_where": "/var/www/AfterAales/node_modules/hexo-util",
  25. "author": {
  26. "name": "Josh Goebel",
  27. "email": "hello@joshgoebel.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/highlightjs/highlight.js/issues"
  31. },
  32. "bundleDependencies": false,
  33. "contributors": [
  34. {
  35. "name": "Josh Goebel",
  36. "email": "hello@joshgoebel.com"
  37. },
  38. {
  39. "name": "Egor Rogov",
  40. "email": "e.rogov@postgrespro.ru"
  41. },
  42. {
  43. "name": "Vladimir Jimenez",
  44. "email": "me@allejo.io"
  45. },
  46. {
  47. "name": "Ivan Sagalaev",
  48. "email": "maniac@softwaremaniacs.org"
  49. },
  50. {
  51. "name": "Jeremy Hull",
  52. "email": "sourdrums@gmail.com"
  53. },
  54. {
  55. "name": "Oleg Efimov",
  56. "email": "efimovov@gmail.com"
  57. },
  58. {
  59. "name": "Gidi Meir Morris",
  60. "email": "gidi@gidi.io"
  61. },
  62. {
  63. "name": "Jan T. Sott",
  64. "email": "git@idleberg.com"
  65. },
  66. {
  67. "name": "Li Xuanji",
  68. "email": "xuanji@gmail.com"
  69. },
  70. {
  71. "name": "Marcos Cáceres",
  72. "email": "marcos@marcosc.com"
  73. },
  74. {
  75. "name": "Sang Dang",
  76. "email": "sang.dang@polku.io"
  77. }
  78. ],
  79. "deprecated": false,
  80. "description": "Syntax highlighting with language autodetection.",
  81. "devDependencies": {
  82. "@colors/colors": "^1.5.0",
  83. "@rollup/plugin-commonjs": "^22.0.0",
  84. "@rollup/plugin-json": "^4.1.0",
  85. "@rollup/plugin-node-resolve": "^13.3.0",
  86. "@types/mocha": "^9.1.1",
  87. "@typescript-eslint/eslint-plugin": "^5.27.1",
  88. "@typescript-eslint/parser": "^5.27.1",
  89. "clean-css": "^5.3.0",
  90. "cli-table": "^0.3.1",
  91. "commander": "9.3",
  92. "css": "^3.0.0",
  93. "css-color-names": "^1.0.1",
  94. "deep-freeze-es6": "^1.4.1",
  95. "del": "^6.1.1",
  96. "dependency-resolver": "^2.0.1",
  97. "eslint": "^8.17.0",
  98. "eslint-config-standard": "^17.0.0",
  99. "eslint-plugin-import": "^2.26.0",
  100. "eslint-plugin-node": "^11.1.0",
  101. "eslint-plugin-promise": "^6.0.0",
  102. "glob": "^7.2.3",
  103. "glob-promise": "^4.2.2",
  104. "handlebars": "^4.7.6",
  105. "jsdom": "^20.0.0",
  106. "lodash": "^4.17.20",
  107. "mocha": "^10.0.0",
  108. "refa": "^0.4.1",
  109. "rollup": "^2.47.0",
  110. "should": "^13.2.3",
  111. "terser": "^5.14.1",
  112. "tiny-worker": "^2.3.0",
  113. "typescript": "^4.7.3",
  114. "wcag-contrast": "^3.0.0"
  115. },
  116. "engines": {
  117. "node": ">=12.0.0"
  118. },
  119. "exports": {
  120. ".": {
  121. "require": "./lib/index.js",
  122. "import": "./es/index.js"
  123. },
  124. "./package.json": "./package.json",
  125. "./lib/common": {
  126. "require": "./lib/common.js",
  127. "import": "./es/common.js"
  128. },
  129. "./lib/core": {
  130. "require": "./lib/core.js",
  131. "import": "./es/core.js"
  132. },
  133. "./lib/languages/*": {
  134. "require": "./lib/languages/*.js",
  135. "import": "./es/languages/*.js"
  136. },
  137. "./scss/*": "./scss/*",
  138. "./styles/*": "./styles/*",
  139. "./types/*": "./types/*"
  140. },
  141. "homepage": "https://highlightjs.org/",
  142. "keywords": [
  143. "highlight",
  144. "syntax"
  145. ],
  146. "license": "BSD-3-Clause",
  147. "main": "./lib/index.js",
  148. "name": "highlight.js",
  149. "repository": {
  150. "type": "git",
  151. "url": "git://github.com/highlightjs/highlight.js.git"
  152. },
  153. "scripts": {
  154. "build": "node ./tools/build.js -t node",
  155. "build-browser": "node ./tools/build.js -t browser :common",
  156. "build-cdn": "node ./tools/build.js -t cdn",
  157. "build_and_test": "npm run build && npm run test",
  158. "build_and_test_browser": "npm run build-browser && npm run test-browser",
  159. "lint": "eslint src/*.js src/lib/*.js demo/*.js tools/**/*.js --ignore-pattern vendor",
  160. "lint-languages": "eslint --no-eslintrc -c .eslintrc.lang.js src/languages/**/*.js",
  161. "mocha": "mocha",
  162. "test": "mocha test",
  163. "test-browser": "mocha test/browser",
  164. "test-detect": "mocha test/detect",
  165. "test-markup": "mocha test/markup",
  166. "test-parser": "mocha test/parser"
  167. },
  168. "sideEffects": [
  169. "*.css",
  170. "*.scss"
  171. ],
  172. "type": "commonjs",
  173. "types": "./types/index.d.ts",
  174. "version": "11.7.0"
  175. }