myst-parser
Version:
Markdown parser for MyST markdown in JavaScript
78 lines (77 loc) • 2.27 kB
JSON
{
"name": "myst-parser",
"version": "1.5.14",
"description": "Markdown parser for MyST markdown in JavaScript",
"author": "Rowan Cockett <rowan@curvenote.com>",
"homepage": "https://github.com/jupyter-book/mystmd/tree/main/packages/myst-parser",
"license": "MIT",
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"unpkg": "dist/myst.min.js",
"files": [
"dist"
],
"keywords": [
"markdown-it-plugin",
"markdown-it",
"markdown",
"myst",
"jupyter",
"jupyter-book"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jupyter-book/mystmd.git"
},
"scripts": {
"clean": "rimraf dist",
"test": "vitest run",
"test:watch": "vitest watch",
"lint": "eslint \"src/**/*.ts\" -c .eslintrc.cjs",
"lint:format": "prettier --check src/*.ts src/**/*.ts",
"build:bundle:browser": "esbuild bundle/myst.ts --bundle --outfile=dist/myst.min.js --platform=browser --minify",
"build:esm": "tsc --project ./src/tsconfig.json",
"build": "npm-run-all -l clean -p build:esm build:bundle:browser"
},
"bugs": {
"url": "https://github.com/jupyter-book/mystmd/issues"
},
"dependencies": {
"he": "^1.2.0",
"markdown-it": "^12.3.2",
"markdown-it-amsmath": "^0.4.0",
"markdown-it-deflist": "^2.1.0",
"markdown-it-dollarmath": "^0.5.0",
"markdown-it-footnote": "^3.0.3",
"markdown-it-front-matter": "^0.2.3",
"markdown-it-myst": "1.0.11",
"markdown-it-myst-extras": "0.3.0",
"markdown-it-task-lists": "^2.1.1",
"myst-common": "^1.7.11",
"myst-directives": "^1.5.14",
"myst-roles": "^1.5.14",
"myst-spec": "^0.0.5",
"unified": "^10.1.1",
"unist-builder": "^3.0.0",
"unist-util-remove": "^3.1.0",
"unist-util-select": "^4.0.3",
"unist-util-visit": "^4.1.0",
"vfile": "^5.3.7"
},
"devDependencies": {
"@sinonjs/fake-timers": "^9.1.0",
"@types/hast": "^2.3.4",
"@types/he": "^1.1.2",
"@types/js-yaml": "^4.0.5",
"@types/markdown-it": "^12.2.3",
"@types/mdast": "^3.0.10",
"js-yaml": "^4.1.0",
"myst-to-html": "^1.5.14",
"myst-transforms": "^1.3.35",
"rehype-stringify": "^9.0.3"
}
}