package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "prismjs",
  3. "version": "1.29.0",
  4. "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.",
  5. "main": "prism.js",
  6. "style": "themes/prism.css",
  7. "engines": {
  8. "node": ">=6"
  9. },
  10. "scripts": {
  11. "benchmark": "node benchmark/benchmark.js",
  12. "build": "gulp",
  13. "start": "http-server -c-1",
  14. "lint": "eslint . --cache",
  15. "lint:fix": "npm run lint -- --fix",
  16. "lint:ci": "eslint . --max-warnings 0",
  17. "regex-coverage": "mocha tests/coverage.js",
  18. "test:aliases": "mocha tests/aliases-test.js",
  19. "test:core": "mocha tests/core/**/*.js",
  20. "test:dependencies": "mocha tests/dependencies-test.js",
  21. "test:examples": "mocha tests/examples-test.js",
  22. "test:identifiers": "mocha tests/identifier-test.js",
  23. "test:languages": "mocha tests/run.js",
  24. "test:patterns": "mocha tests/pattern-tests.js",
  25. "test:plugins": "mocha tests/plugins/**/*.js",
  26. "test:runner": "mocha tests/testrunner-tests.js",
  27. "test": "npm-run-all test:*"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "https://github.com/PrismJS/prism.git"
  32. },
  33. "keywords": [
  34. "prism",
  35. "highlight"
  36. ],
  37. "author": "Lea Verou",
  38. "license": "MIT",
  39. "readmeFilename": "README.md",
  40. "devDependencies": {
  41. "@types/node-fetch": "^2.5.5",
  42. "benchmark": "^2.1.4",
  43. "chai": "^4.2.0",
  44. "danger": "^10.5.0",
  45. "del": "^4.1.1",
  46. "docdash": "^1.2.0",
  47. "eslint": "^7.22.0",
  48. "eslint-plugin-jsdoc": "^32.3.0",
  49. "eslint-plugin-regexp": "^1.6.0",
  50. "gulp": "^4.0.2",
  51. "gulp-clean-css": "^4.3.0",
  52. "gulp-concat": "^2.3.4",
  53. "gulp-header": "^2.0.7",
  54. "gulp-jsdoc3": "^3.0.0",
  55. "gulp-rename": "^1.2.0",
  56. "gulp-replace": "^1.0.0",
  57. "gulp-terser": "^2.1.0",
  58. "gzip-size": "^5.1.1",
  59. "htmlparser2": "^4.0.0",
  60. "http-server": "^0.12.3",
  61. "jsdom": "^16.7.0",
  62. "mocha": "^9.2.2",
  63. "node-fetch": "^3.1.1",
  64. "npm-run-all": "^4.1.5",
  65. "prettier": "^2.4.1",
  66. "pump": "^3.0.0",
  67. "refa": "^0.9.1",
  68. "regexp-ast-analysis": "^0.2.4",
  69. "regexpp": "^3.2.0",
  70. "scslre": "^0.1.6",
  71. "simple-git": "^3.3.0",
  72. "webfont": "^9.0.0",
  73. "yargs": "^13.2.2"
  74. },
  75. "jspm": {
  76. "main": "prism",
  77. "registry": "jspm",
  78. "jspmPackage": true,
  79. "format": "global",
  80. "files": [
  81. "components/**/*.js",
  82. "plugins/**/*",
  83. "themes/*.css",
  84. "prism.js"
  85. ]
  86. }
  87. }