Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.8 KiB
94 lines
2.8 KiB
{
|
|
"name": "markdown-it",
|
|
"version": "13.0.2",
|
|
"description": "Markdown-it - modern pluggable markdown parser.",
|
|
"keywords": [
|
|
"markdown",
|
|
"parser",
|
|
"commonmark",
|
|
"markdown-it",
|
|
"markdown-it-plugin"
|
|
],
|
|
"repository": "markdown-it/markdown-it",
|
|
"license": "MIT",
|
|
"main": "dist/markdown-it.js",
|
|
"module": "index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.mjs",
|
|
"require": "./dist/markdown-it.js"
|
|
},
|
|
"./*": {
|
|
"require": "./*",
|
|
"import": "./*"
|
|
}
|
|
},
|
|
"bin": {
|
|
"markdown-it": "bin/markdown-it.mjs"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --ext js --ext mjs .",
|
|
"test": "npm run lint && c8 mocha && node support/specsplit.mjs",
|
|
"coverage": "npm run test && c8 report --reporter html",
|
|
"report-coveralls": "c8 --reporter=lcov mocha",
|
|
"doc": "node support/build_doc.mjs",
|
|
"gh-doc": "npm run doc && gh-pages -d apidoc -f",
|
|
"demo": "npm run lint && node support/build_demo.mjs",
|
|
"gh-demo": "npm run demo && gh-pages -d demo -f -b master -r git@github.com:markdown-it/markdown-it.github.io.git",
|
|
"browserify": "rollup -c support/rollup.config.mjs",
|
|
"benchmark-deps": "npm install --prefix benchmark/extra/ -g marked@0.3.6 commonmark@0.26.0 markdown-it/markdown-it.git#2.2.1",
|
|
"specsplit": "support/specsplit.mjs good -o test/fixtures/commonmark/good.txt && support/specsplit.mjs bad -o test/fixtures/commonmark/bad.txt && support/specsplit.mjs",
|
|
"todo": "grep 'TODO' -n -r ./lib 2>/dev/null",
|
|
"prepublishOnly": "npm run gh-demo && npm run gh-doc"
|
|
},
|
|
"files": [
|
|
"index.mjs",
|
|
"bin/",
|
|
"lib/",
|
|
"dist/"
|
|
],
|
|
"dependencies": {
|
|
"argparse": "^2.0.1",
|
|
"entities": "^4.4.0",
|
|
"linkify-it": "^4.0.1",
|
|
"mdurl": "^1.0.1",
|
|
"punycode.js": "^2.3.1",
|
|
"uc.micro": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.0.1",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"ansi": "^0.3.0",
|
|
"benchmark": "~2.1.0",
|
|
"c8": "^8.0.1",
|
|
"chai": "^4.2.0",
|
|
"eslint": "^8.4.1",
|
|
"express": "^4.14.0",
|
|
"gh-pages": "^6.1.0",
|
|
"highlight.js": "^11.9.0",
|
|
"jest-worker": "^29.7.0",
|
|
"markdown-it-abbr": "^1.0.4",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-deflist": "^2.0.0",
|
|
"markdown-it-emoji": "^2.0.0",
|
|
"markdown-it-footnote": "^3.0.1",
|
|
"markdown-it-for-inline": "^0.1.0",
|
|
"markdown-it-ins": "^3.0.0",
|
|
"markdown-it-mark": "^3.0.0",
|
|
"markdown-it-sub": "^1.0.0",
|
|
"markdown-it-sup": "^1.0.0",
|
|
"markdown-it-testgen": "^0.1.3",
|
|
"mocha": "^10.2.0",
|
|
"ndoc": "^6.0.0",
|
|
"needle": "^3.0.0",
|
|
"rollup": "^4.5.0",
|
|
"shelljs": "^0.8.4",
|
|
"supertest": "^6.0.1"
|
|
},
|
|
"mocha": {
|
|
"inline-diffs": true,
|
|
"timeout": 60000
|
|
}
|
|
}
|
|
|