83 lines
2 KiB
JSON
83 lines
2 KiB
JSON
{
|
|
"name": "rehype-mathjax",
|
|
"version": "6.0.0",
|
|
"description": "rehype plugin to transform inline and block math with MathJax",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"hast",
|
|
"html",
|
|
"latex",
|
|
"markdown",
|
|
"math",
|
|
"mathjax",
|
|
"mdast",
|
|
"plugin",
|
|
"rehype",
|
|
"rehype-plugin",
|
|
"remark",
|
|
"tex",
|
|
"unified"
|
|
],
|
|
"repository": "https://github.com/remarkjs/remark-math/tree/main/packages/rehype-mathjax",
|
|
"bugs": "https://github.com/remarkjs/remark-math/issues",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"author": "TANIGUCHI Masaya <mew@cat.ovh> (https://docs.casa)",
|
|
"contributors": [
|
|
"TANIGUCHI Masaya <mew@cat.ovh> (https://docs.casa)",
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
|
],
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./svg.js",
|
|
"./browser": "./browser.js",
|
|
"./chtml": "./chtml.js",
|
|
"./svg": "./svg.js"
|
|
},
|
|
"imports": {
|
|
"#create-adapter": {
|
|
"deno": "./lib/create-adapter.default.js",
|
|
"react-native": "./lib/create-adapter.default.js",
|
|
"worker": "./lib/create-adapter.default.js",
|
|
"browser": "./lib/create-adapter.browser.js",
|
|
"default": "./lib/create-adapter.default.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/",
|
|
"browser.d.ts",
|
|
"browser.js",
|
|
"chtml.d.ts",
|
|
"chtml.js",
|
|
"svg.d.ts",
|
|
"svg.js"
|
|
],
|
|
"dependencies": {
|
|
"@types/hast": "^3.0.0",
|
|
"@types/mathjax": "^0.0.40",
|
|
"hast-util-from-dom": "^5.0.0",
|
|
"hast-util-to-text": "^4.0.0",
|
|
"jsdom": "^23.0.0",
|
|
"mathjax-full": "^3.0.0",
|
|
"unified": "^11.0.0",
|
|
"unist-util-visit-parents": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jsdom": "^21.0.0"
|
|
},
|
|
"scripts": {
|
|
"test-api": "node --conditions development test/index.js",
|
|
"test": "npm run build && npm run test-api"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"rules": {
|
|
"n/file-extension-in-import": "off",
|
|
"unicorn/prefer-at": "off"
|
|
}
|
|
}
|
|
}
|