{ "name": "markdownlint", "version": "0.26.2", "description": "A Node.js style checker and lint tool for Markdown/CommonMark files.", "type": "commonjs", "main": "./lib/markdownlint.js", "exports": { ".": "./lib/markdownlint.js", "./helpers": "./helpers/helpers.js", "./style/all": "./style/all.json", "./style/cirosantilli": "./style/cirosantilli.json", "./style/prettier": "./style/prettier.json", "./style/relaxed": "./style/relaxed.json" }, "types": "./lib/markdownlint.d.ts", "author": "David Anson (https://dlaa.me/)", "license": "MIT", "homepage": "https://github.com/DavidAnson/markdownlint", "repository": { "type": "git", "url": "https://github.com/DavidAnson/markdownlint.git" }, "bugs": "https://github.com/DavidAnson/markdownlint/issues", "scripts": { "build-config": "npm run build-config-schema && npm run build-config-example", "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' 'helpers/*.d.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-docs": "node doc-build/build-rules.mjs", "build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2", "ci": "npm-run-all --continue-on-error --parallel lint serial-config-docs serial-declaration-demo test-cover && git diff --exit-code", "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-eslint-eslint": "cd test-repos && git clone https://github.com/eslint/eslint eslint-eslint --depth 1 --no-tags --quiet", "clone-test-repos-mkdocs-mkdocs": "cd test-repos && git clone https://github.com/mkdocs/mkdocs mkdocs-mkdocs --depth 1 --no-tags --quiet", "clone-test-repos-mochajs-mocha": "cd test-repos && git clone https://github.com/mochajs/mocha mochajs-mocha --depth 1 --no-tags --quiet", "clone-test-repos-pi-hole-docs": "cd test-repos && git clone https://github.com/pi-hole/docs pi-hole-docs --depth 1 --no-tags --quiet", "clone-test-repos-v8-v8-dev": "cd test-repos && git clone https://github.com/v8/v8.dev v8-v8-dev --depth 1 --no-tags --quiet", "clone-test-repos-webhintio-hint": "cd test-repos && git clone https://github.com/webhintio/hint webhintio-hint --depth 1 --no-tags --quiet", "clone-test-repos-webpack-webpack-js-org": "cd test-repos && git clone https://github.com/webpack/webpack.js.org webpack-webpack-js-org --depth 1 --no-tags --quiet", "clone-test-repos": "mkdir test-repos && cd test-repos && npm run clone-test-repos-eslint-eslint && npm run clone-test-repos-mkdocs-mkdocs && npm run clone-test-repos-mochajs-mocha && npm run clone-test-repos-pi-hole-docs && npm run clone-test-repos-webhintio-hint && npm run clone-test-repos-webpack-webpack-js-org", "clone-test-repos-large": "npm run clone-test-repos && cd test-repos && npm run clone-test-repos-dotnet-docs && npm run clone-test-repos-v8-v8-dev", "declaration": "npm run build-declaration && npm run test-declaration", "example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint", "docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm install", "docker-npm-run-upgrade": "docker run --rm --tty --name npm-run-upgrade --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm run upgrade", "lint": "eslint --ext .js,.mjs --max-warnings 0 .", "lint-test-repos": "ava --timeout=5m test/markdownlint-test-repos.js", "serial-config-docs": "npm run build-config && npm run build-docs", "serial-declaration-demo": "npm run build-declaration && npm-run-all --continue-on-error --parallel build-demo test-declaration", "test": "ava test/markdownlint-test.js test/markdownlint-test-config.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js", "test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 npm test", "test-declaration": "cd example/typescript && tsc && node type-check.js", "test-extra": "ava --timeout=5m test/markdownlint-test-extra-parse.js test/markdownlint-test-extra-type.js", "update-snapshots": "ava --update-snapshots test/markdownlint-test-scenarios.js", "upgrade": "npx --yes npm-check-updates --upgrade" }, "engines": { "node": ">=14.18.0" }, "dependencies": { "markdown-it": "13.0.1" }, "devDependencies": { "ava": "5.1.0", "c8": "7.12.0", "eslint": "8.27.0", "eslint-plugin-es": "4.1.0", "eslint-plugin-jsdoc": "39.6.2", "eslint-plugin-n": "15.5.1", "eslint-plugin-unicorn": "44.0.2", "globby": "13.1.2", "js-yaml": "4.1.0", "markdown-it-footnote": "3.0.3", "markdown-it-for-inline": "0.1.1", "markdown-it-sub": "1.0.0", "markdown-it-sup": "1.0.0", "markdown-it-texmath": "1.0.0", "markdownlint-rule-github-internal-links": "0.1.0", "markdownlint-rule-helpers": "0.17.2", "npm-run-all": "4.1.5", "strip-json-comments": "5.0.0", "terser-webpack-plugin": "5.3.6", "toml": "3.0.0", "ts-loader": "9.4.1", "tv4": "1.3.0", "typescript": "4.9.3", "webpack": "5.75.0", "webpack-cli": "5.0.0" }, "keywords": [ "markdown", "lint", "md", "CommonMark", "markdownlint" ] }