mystjs
Version:
Markdown parser for MyST markdown in JavaScript
94 lines (93 loc) • 2.97 kB
JSON
{
"name": "mystjs",
"version": "0.0.15",
"description": "Markdown parser for MyST markdown in JavaScript",
"author": "Rowan Cockett <rowan@curvenote.com>",
"homepage": "https://github.com/executablebooks/mystjs/tree/main/packages/mystjs",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/myst.min.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"keywords": [
"markdown-it-plugin",
"markdown-it",
"markdown",
"myst",
"jupyter",
"jupyter-book"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/executablebooks/mystjs.git"
},
"scripts": {
"clean": "rm -rf dist",
"test": "jest",
"test:watch": "jest --watchAll",
"lint": "eslint \"src/**/*.ts\" -c .eslintrc.js",
"lint:format": "prettier --check src/*.ts src/**/*.ts",
"build:bundle:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.cjs.js --platform=node",
"build:bundle:browser": "esbuild myst.ts --bundle --outfile=dist/myst.min.js --platform=browser --minify",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"declarations": "tsc --declaration --emitDeclarationOnly --outDir dist/types",
"build": "npm-run-all -l clean -p build:cjs build:esm build:bundle:browser build:bundle:cjs declarations"
},
"bugs": {
"url": "https://github.com/executablebooks/mystjs/issues"
},
"dependencies": {
"classnames": "^2.3.1",
"hast-util-to-mdast": "^8.3.1",
"he": "^1.2.0",
"markdown-it": "^12.3.2",
"markdown-it-amsmath": "^0.3.1",
"markdown-it-deflist": "^2.1.0",
"markdown-it-docutils": "0.1.6",
"markdown-it-dollarmath": "^0.4.2",
"markdown-it-footnote": "^3.0.3",
"markdown-it-front-matter": "^0.2.3",
"markdown-it-myst-extras": "0.2.0",
"markdown-it-task-lists": "^2.1.1",
"mdast-util-find-and-replace": "^2.1.0",
"mdast-util-to-hast": "^12.1.1",
"myst-spec": "^0.0.4",
"rehype-format": "^4.0.1",
"rehype-parse": "^8.0.4",
"rehype-remark": "^9.1.2",
"rehype-stringify": "^9.0.3",
"unified": "^10.1.1",
"unist-builder": "^3.0.0",
"unist-util-find-after": "^4.0.0",
"unist-util-map": "^3.0.1",
"unist-util-remove": "^3.1.0",
"unist-util-select": "^4.0.1",
"unist-util-visit": "^4.1.0"
},
"devDependencies": {
"@sinonjs/fake-timers": "^9.1.0",
"@types/hast": "^2.3.4",
"@types/he": "^1.1.2",
"@types/jest": "^28.1.6",
"@types/js-yaml": "^4.0.5",
"@types/markdown-it": "^12.2.3",
"@types/mdast": "^3.0.10",
"eslint": "^8.21.0",
"eslint-config-curvenote": "*",
"jest": "28.1.3",
"js-yaml": "^4.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"ts-loader": "^9.2.8",
"typescript": "latest"
}
}