package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "mathjax-full",
  3. "version": "3.2.2",
  4. "description": "Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers and in server-side node applications. This package includes the source code as well as the packaged components.",
  5. "license": "Apache-2.0",
  6. "main": "components/src/node-main/node-main.js",
  7. "files": [
  8. "/es5",
  9. "/js",
  10. "/ts",
  11. "/components",
  12. "LICENSE",
  13. "README.md",
  14. "CONTRIBUTING.md",
  15. "tsconfig.json",
  16. "tslint.json"
  17. ],
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/mathjax/Mathjax-src/"
  21. },
  22. "keywords": [
  23. "MathJax",
  24. "math",
  25. "svg",
  26. "HTML",
  27. "MathML",
  28. "TeX",
  29. "AsciiMath"
  30. ],
  31. "scripts": {
  32. "clean:js": "npx rimraf js",
  33. "clean:es5": "npx rimraf es5",
  34. "clean:lib": "npx rimraf 'components/src/**/lib'",
  35. "clean": "npm run --silent clean:js && npm run --silent clean:es5 && npm run --silent clean:lib",
  36. "copy:mj2": "npx copyfiles -u 1 'ts/input/asciimath/mathjax2/**/*' js",
  37. "copy:mml3": "npx copyfiles -u 1 'ts/input/mathml/mml3/mml3.sef.json' js",
  38. "precompile": "npm run --silent clean:js",
  39. "compile": "npx tsc",
  40. "postcompile": "npm run --silent copy:mj2 && npm run --silent copy:mml3",
  41. "premake-components": "npm run --silent clean:es5 && npm run --silent clean:lib",
  42. "make-components": "cd components && node bin/makeAll src | grep --line-buffered 'Building\\|Webpacking\\|Copying\\|npx'",
  43. "premake-mml3-xslt": "cd ts/input/mathml/mml3 && grep '^\\s*\\(<\\|or\\|xmlns\\|excl\\|\">\\)' mml3.ts > mml3.xsl",
  44. "make-mml3-xslt": "cd ts/input/mathml/mml3 && npx xslt3 -t -xsl:mml3.xsl -export:mml3.sef.json -nogo",
  45. "postmake-mml3-xslt": "npx rimraf ts/input/mathml/mml3/mml3.xsl"
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.17.12",
  49. "@babel/preset-env": "^7.17.12",
  50. "babel-loader": "^8.2.5",
  51. "copyfiles": "^2.4.1",
  52. "diff": "^5.0.0",
  53. "rimraf": "^3.0.2",
  54. "tape": "^5.5.3",
  55. "terser-webpack-plugin": "^5.3.1",
  56. "tslint": "^6.1.3",
  57. "tslint-jsdoc-rules": "^0.2.0",
  58. "tslint-unix-formatter": "^0.2.0",
  59. "typescript": "^4.6.4",
  60. "typescript-tools": "^0.3.1",
  61. "webpack": "^5.72.1",
  62. "webpack-cli": "^4.9.2"
  63. },
  64. "dependencies": {
  65. "esm": "^3.2.25",
  66. "mhchemparser": "^4.1.0",
  67. "mj-context-menu": "^0.6.1",
  68. "speech-rule-engine": "^4.0.6"
  69. }
  70. }