package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "prismjs",
  3. "version": "1.30.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. "release": "release-it"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/PrismJS/prism.git"
  33. },
  34. "keywords": [
  35. "prism",
  36. "highlight"
  37. ],
  38. "author": "Lea Verou",
  39. "license": "MIT",
  40. "readmeFilename": "README.md",
  41. "devDependencies": {
  42. "@types/node-fetch": "^2.5.5",
  43. "benchmark": "^2.1.4",
  44. "chai": "^4.2.0",
  45. "danger": "^10.5.0",
  46. "del": "^4.1.1",
  47. "docdash": "^1.2.0",
  48. "eslint": "^7.22.0",
  49. "eslint-plugin-jsdoc": "^32.3.0",
  50. "eslint-plugin-regexp": "^1.6.0",
  51. "gulp": "^4.0.2",
  52. "gulp-clean-css": "^4.3.0",
  53. "gulp-concat": "^2.3.4",
  54. "gulp-header": "^2.0.7",
  55. "gulp-jsdoc3": "^3.0.0",
  56. "gulp-rename": "^1.2.0",
  57. "gulp-replace": "^1.0.0",
  58. "gulp-terser": "^2.1.0",
  59. "gzip-size": "^5.1.1",
  60. "htmlparser2": "^4.0.0",
  61. "http-server": "^0.12.3",
  62. "jsdom": "^16.7.0",
  63. "mocha": "^9.2.2",
  64. "node-fetch": "^3.1.1",
  65. "npm-run-all": "^4.1.5",
  66. "prettier": "^2.4.1",
  67. "pump": "^3.0.0",
  68. "refa": "^0.9.1",
  69. "regexp-ast-analysis": "^0.2.4",
  70. "regexpp": "^3.2.0",
  71. "release-it": "^18.1.2",
  72. "scslre": "^0.1.6",
  73. "simple-git": "^3.3.0",
  74. "webfont": "^9.0.0",
  75. "yargs": "^13.2.2"
  76. },
  77. "jspm": {
  78. "main": "prism",
  79. "registry": "jspm",
  80. "jspmPackage": true,
  81. "format": "global",
  82. "files": [
  83. "components/**/*.js",
  84. "plugins/**/*",
  85. "themes/*.css",
  86. "prism.js"
  87. ]
  88. }
  89. }