package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "mathjax",
  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. This package includes the packaged components (install mathjax-full to get the source code).",
  5. "keywords": [
  6. "math",
  7. "svg",
  8. "mathml",
  9. "tex",
  10. "latex",
  11. "asciimath",
  12. "browser",
  13. "node"
  14. ],
  15. "devDependencies": {
  16. "mathjax-full": "3.2.2"
  17. },
  18. "maintainers": [
  19. "MathJax Consortium <info@mathjax.org> (http://www.mathjax.org)"
  20. ],
  21. "bugs": {
  22. "url": "http://github.com/mathjax/MathJax/issues"
  23. },
  24. "license": "Apache-2.0",
  25. "repository": {
  26. "type": "git",
  27. "url": "git://github.com/mathjax/MathJax.git"
  28. },
  29. "main": "es5/node-main.js",
  30. "files": [
  31. "/es5"
  32. ],
  33. "scripts": {
  34. "test": "echo 'No tests defined'",
  35. "clean": "npm run --silent clean:es5 && npm run --silent clean:node",
  36. "clean:es5": "rm -rf es5",
  37. "clean:node": "rm -rf node_modules package-lock.json",
  38. "message": "echo \"$(tput setaf 4)${npm_package_config_message}$(tput setaf 0)\" && echo",
  39. "line": "echo '--------------------------------------------'",
  40. "title": "npm run --silent line && npm run --silent message --mathjax:message=\"${npm_package_config_title}\"",
  41. "preinstall:mj3": "npm run --silent title --mathjax:title='Installing MathJax...'",
  42. "install:mj3": "npm install",
  43. "preinstall:mj3-deps": "npm run --silent message --mathjax:message='Installing MathJax Dependencies...'",
  44. "install:mj3-deps": "cd node_modules/mathjax-full && npm install",
  45. "install:all": "npm run --silent install:mj3 && npm run --silent install:mj3-deps",
  46. "precompile": "npm run --silent title --mathjax:title='Compiling MathJax...'",
  47. "compile": "cd node_modules/mathjax-full && npm run --silent compile",
  48. "precomponents": "npm run --silent title --mathjax:title='Building MathJax Components...'",
  49. "components": "cd node_modules/mathjax-full && npm run --silent make-components",
  50. "premove": "npm run --silent title --mathjax:title='Moving MathJax Components...'",
  51. "move": "npm run --silent clean:es5 && mv node_modules/mathjax-full/es5 .",
  52. "premake-es5": "npm run --silent clean:node",
  53. "make-es5": "npm run --silent install:all && npm run --silent compile && npm run --silent components && npm run --silent move",
  54. "postmake-es5": "npm run --silent title --mathjax:title='Cleaning Up...' && npm run --silent clean:node",
  55. "preget-es5": "npm run --silent clean:node",
  56. "get-es5": "npm run --silent install:mj3 && npm run --silent move",
  57. "postget-es5": "npm run --silent title --mathjax:title='Cleaning Up...' && npm run --silent clean:node"
  58. }
  59. }