|
1 | 1 | { |
2 | | - "type": "commonjs" |
| 2 | + "name": "mathjax", |
| 3 | + "version": "4.0.0-beta.1", |
| 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 | + "MathJax", |
| 7 | + "math", |
| 8 | + "svg", |
| 9 | + "mathml", |
| 10 | + "tex", |
| 11 | + "latex", |
| 12 | + "asciimath", |
| 13 | + "browser", |
| 14 | + "node" |
| 15 | + ], |
| 16 | + "license": "Apache-2.0", |
| 17 | + "maintainers": [ |
| 18 | + "MathJax Consortium <info@mathjax.org> (http://www.mathjax.org)" |
| 19 | + ], |
| 20 | + "bugs": { |
| 21 | + "url": "http://github.com/mathjax/MathJax/issues" |
| 22 | + }, |
| 23 | + "repository": { |
| 24 | + "type": "git", |
| 25 | + "url": "https://github.com/mathjax/MathJax" |
| 26 | + }, |
| 27 | + "main": "es5/node-main.js", |
| 28 | + "exports": { |
| 29 | + ".": { |
| 30 | + "import": "./node-main.mjs", |
| 31 | + "require": "./node-main.cjs" |
| 32 | + }, |
| 33 | + "./es5/*": "./*", |
| 34 | + "./*": "./*" |
| 35 | + }, |
| 36 | + "files": [ |
| 37 | + "*.js", |
| 38 | + "*.mjs", |
| 39 | + "*.cjs", |
| 40 | + "a11y", |
| 41 | + "adaptors", |
| 42 | + "input", |
| 43 | + "output", |
| 44 | + "sre", |
| 45 | + "ui" |
| 46 | + ], |
| 47 | + "scripts": { |
| 48 | + "test": "echo 'No tests defined'", |
| 49 | + "===================================================================== clean": "", |
| 50 | + "clean": "npm run -s clean:bundle && npm run -s clean:node", |
| 51 | + "clean:bundle": "rm -rf *.*js a11y adaptors input output sre ui", |
| 52 | + "clean:node": "rm -rf node_modules package-lock.json", |
| 53 | + "===================================================================== message": "", |
| 54 | + "message": "msg() { echo \"$(tput setaf 4)$1$(tput setaf 0)\"; }; msg", |
| 55 | + "===================================================================== install": "", |
| 56 | + "preinstall:mj4": "npm run -s Message 'Installing MathJax...'", |
| 57 | + "install:mj4": "npm install", |
| 58 | + "===================================================================== move": "", |
| 59 | + "premove": "npm run -s message 'Moving MathJax Components...'", |
| 60 | + "move": "npm run -s clean:bundle && mv -n node_modules/mathjax-full/bundle/* .", |
| 61 | + "===================================================================== build": "", |
| 62 | + "prebuild": "npm run -s clean:node", |
| 63 | + "build": "npm run -s install:mj4 && npm run -s move", |
| 64 | + "postbuild": "npm run -s message 'Cleaning Up...' && npm run -s clean:node" |
| 65 | + }, |
| 66 | + "devDependencies": { |
| 67 | + "mathjax-full": "4.0.0-beta.1" |
| 68 | + } |
3 | 69 | } |
0 commit comments