{
  "name": "mathjax-tex-font",
  "version": "4.0.0-beta.4",
  "description": "MathJax-Tex font for MathJax v4",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/mathjax/MathJax-fonts/"
  },
  "keywords": [
    "MathJax",
    "fonts",
    "MathJax-Tex"
  ],
  "files": [
    "def/*.ts",
    "cjs",
    "mjs",
    "chtml",
    "chtml.js",
    "svg",
    "svg.js",
    "tex-mml-*",
    "tsconfig",
    "tsconfig.json",
    "examples/chtml.html",
    "examples/svg.html"
  ],
  "scripts": {
    "clear:dirs": "clear() { npx rimraf ts/* def/*.js build $1 $2 $3 $4; }; clear",
    "clear:tables": "clear() { npx rimraf tables-$1; }; clear",
    "clean:mod": "clean() { echo Cleaning $1 directories; npm run -s clear:dirs $1 $2 $3 $4; }; clean",
    "clean:cjs": "npm run -s clean:mod cjs bundle-cjs",
    "clean:mjs": "npm run -s clean:mod mjs chtml svg '*.js'",
    "clean": "npm run -s clean:cjs && npm run -s clean:mjs",
    "======================================================================== def": "",
    "predef:compile": "echo 'Compiling font definition'",
    "def:compile": "tsc --project tsconfig/def.json",
    "predef:run": "echo 'Processing font definition'",
    "def:run": "node -r esm def/mathjax-tex.js",
    "======================================================================== compile": "",
    "_pre_compile": "pre() { npm run -s clean:$1 && npm run -s def:compile && npm run -s def:run $1; }; pre",
    "_compile": "comp() { echo \"Compiling $1 typescript files\" && tsc --project tsconfig/$1.json; }; comp",
    "_compile_": "comp() { npm run _pre_compile $1 && npm run _compile $1; }; comp",
    "compile-cjs": "npm run -s _compile_ cjs",
    "compile-mjs": "npm run -s _compile_ mjs",
    "postcompile-mjs": "echo '{\n  \"type\": \"module\"\n}' > mjs/package.json",
    "compile": "npm run -s compile-mjs",
    "======================================================================== make": "",
    "make-one": "make() { ../node_modules/mathjax-full/components/bin/makeAll --$2 $3 $4 build/$1; }; make",
    "_make-font_": "font() { npm run -- make-one chtml $1 $2 $3; npm run -- make-one svg $1 $2 $3; }; font",
    "make-cjs-font": "npm run -s -- _make-font_ cjs --bundle-cjs",
    "make-mjs-font": "npm run -s -- _make-font_ mjs",
    "make-font": "npm run -s make-mjs-font",
    "======================================================================== combine": "",
    "_combine-one": "one() { npm run -- make-one tex-mml-$1-mathjax-tex $2 $3; }; one",
    "combine-one": "one() { npm run -s -- make-one $1 $2 --build; npm run -s -- _combine-one $1 $2 $3; }; one",
    "_combine_": "combine() { npm run -- combine-one chtml $1 $2 $3; npm run -- combine-one svg $1 $2 $3; }; combine",
    "combine-cjs": "npm run -s -- _combine_ cjs --bundle-cjs",
    "combine-mjs": "npm run -s -- _combine_ mjs",
    "combine": "npm run -s combine-mjs",
    "======================================================================== build": "",
    "build-one": "one() { npm run -s compile-$2; echo; npm run -s make-one $1 $2; npm run -s pack-one $1 $2; }; one",
    "_build": "one() { npm run make-one $1 $2; npm run make-one tex-mml-$1-mathjax-tex $2; }; one",
    "_build_": "build() { npm run compile-$1; echo; npm run _build chtml $1; npm run _build svg $1; }; build",
    "build-cjs": "echo '============='; echo 'Building cjs:'; echo '============='; npm run -s compile-cjs",
    "build-mjs": "echo '============='; echo 'Building mjs:'; echo '============='; npm run -s _build_ mjs",
    "build": "npm run -s build-mjs",
    "build-all": "npm run -s build-cjs && echo && npm run -s build-mjs",
    "======================================================================== tables": "",
    "table": "table() { npm run -s clear:tables $1; node ../bin/makeTables.js $1 mathjax-tex; }; table",
    "tables": "npm run -s table svg && npm run -s table chtml"
  }
}
