Switch to using npm version of markdownlint-micromark package and browser script.

This commit is contained in:
David Anson 2023-02-08 20:50:28 -08:00
parent 8e66b8f926
commit c15262a0f5
10 changed files with 32 additions and 4159 deletions

View file

@ -26,11 +26,11 @@
"build-config-example": "node schema/build-config-example.js",
"build-config-schema": "node schema/build-config-schema.js",
"build-declaration": "tsc --allowJs --declaration --emitDeclarationOnly --module commonjs --resolveJsonModule --target es2015 lib/markdownlint.js && node scripts delete 'lib/{c,md,r}*.d.ts' 'micromark/*.d.cts' 'helpers/*.d.{cts,ts}'",
"build-demo": "node scripts copy node_modules/markdown-it/dist/markdown-it.min.js demo/markdown-it.min.js && cd demo && webpack --no-stats",
"build-demo": "node scripts copy node_modules/markdown-it/dist/markdown-it.min.js demo/markdown-it.min.js && node scripts copy node_modules/markdownlint-micromark/micromark-browser.js demo/micromark-browser.js && cd demo && webpack --no-stats",
"build-docs": "node doc-build/build-rules.mjs",
"build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",
"build-micromark": "cd micromark && npm run build",
"ci": "npm run build-micromark && npm-run-all --continue-on-error --parallel lint serial-config-docs serial-declaration-demo test-cover && git diff --exit-code",
"ci": "npm-run-all --continue-on-error --parallel lint serial-config-docs serial-declaration-demo test-cover && git diff --exit-code",
"clone-test-repos-apache-airflow": "cd test-repos && git clone https://github.com/apache/airflow apache-airflow --depth 1 --no-tags --quiet",
"clone-test-repos-dotnet-docs": "cd test-repos && git clone https://github.com/dotnet/docs dotnet-docs --depth 1 --no-tags --quiet",
"clone-test-repos-electron-electron": "cd test-repos && git clone https://github.com/electron/electron electron-electron --depth 1 --no-tags --quiet",
@ -83,10 +83,8 @@
"markdown-it-sub": "1.0.0",
"markdown-it-sup": "1.0.0",
"markdown-it-texmath": "1.0.0",
"markdownlint-micromark": "0.1.1",
"markdownlint-rule-helpers": "0.18.0",
"micromark": "3.1.0",
"micromark-extension-gfm-autolink-literal": "1.0.3",
"micromark-extension-gfm-footnote": "1.0.4",
"npm-run-all": "4.1.5",
"strip-json-comments": "5.0.0",
"terser-webpack-plugin": "5.3.6",