|
|
@ -11,6 +11,18 @@ |
|
|
|
], |
|
|
|
"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" |
|
|
|
}, |
|
|
@ -23,7 +35,7 @@ |
|
|
|
"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.js", |
|
|
|
"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", |
|
|
|