97 lines
2.5 KiB
JSON
97 lines
2.5 KiB
JSON
{
|
|
"name": "markdownlint-cli",
|
|
"version": "0.45.0",
|
|
"description": "MarkdownLint Command Line Interface",
|
|
"type": "module",
|
|
"main": "markdownlint.js",
|
|
"bin": {
|
|
"markdownlint": "markdownlint.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"invalid": "node ./markdownlint.js --config test/test-config.json -- test/incorrect.md",
|
|
"fix": "cp test/incorrect.md test/incorrect.copy.md && node ./markdownlint.js --fix test/incorrect.copy.md ; cat test/incorrect.copy.md && rm test/incorrect.copy.md",
|
|
"test": "ava",
|
|
"watch": "npm test --watch",
|
|
"start": "node ./markdownlint.js",
|
|
"precommit": "xo && npm test"
|
|
},
|
|
"files": [
|
|
"markdownlint.js"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/igorshubovych/markdownlint-cli.git"
|
|
},
|
|
"keywords": [
|
|
"markdown",
|
|
"markdownlint",
|
|
"cli",
|
|
"cli-app"
|
|
],
|
|
"author": "Igor Shubovych <igor.shubovych@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/igorshubovych/markdownlint-cli/issues"
|
|
},
|
|
"homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
|
|
"dependencies": {
|
|
"commander": "~13.1.0",
|
|
"glob": "~11.0.2",
|
|
"ignore": "~7.0.4",
|
|
"js-yaml": "~4.1.0",
|
|
"jsonc-parser": "~3.3.1",
|
|
"jsonpointer": "~5.0.1",
|
|
"markdownlint": "~0.38.0",
|
|
"markdown-it": "~14.1.0",
|
|
"minimatch": "~10.0.1",
|
|
"run-con": "~1.3.2",
|
|
"smol-toml": "~1.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^6.2.0",
|
|
"markdownlint-cli-local-test-rule": "./test/custom-rules/markdownlint-cli-local-test-rule",
|
|
"nano-spawn": "^1.0.1",
|
|
"xo": "^0.60.0"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"space": true,
|
|
"rules": {
|
|
"comma-dangle": 0,
|
|
"linebreak-style": 0,
|
|
"no-var": 0,
|
|
"prefer-arrow-callback": 0,
|
|
"promise/prefer-await-to-then": 0,
|
|
"object-shorthand": 0,
|
|
"unicorn/prefer-module": 0,
|
|
"unicorn/prefer-ternary": 0,
|
|
"unicorn/prefer-top-level-await": 0
|
|
}
|
|
},
|
|
"prettier": {
|
|
"arrowParens": "avoid",
|
|
"bracketSpacing": false,
|
|
"endOfLine": "auto",
|
|
"printWidth": 1000,
|
|
"singleQuote": true,
|
|
"trailingComma": "none"
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"test/**/*.js",
|
|
"test/**/*.cjs",
|
|
"test/**/*.mjs",
|
|
"!test/custom-rules/**/*.js",
|
|
"!test/custom-rules/**/*.cjs",
|
|
"!test/custom-rules/**/*.mjs",
|
|
"!test/md043-config.cjs"
|
|
],
|
|
"failFast": true,
|
|
"timeout": "1m",
|
|
"workerThreads": false
|
|
}
|
|
}
|