{
    "name": "@lint-md/cli",
    "version": "2.3.0",
    "description": "CLI tool to lint your markdown file for Chinese.",
    "bin": {
        "lint-md": "lib/src/lint-md.js"
    },
    "author": "hustcc",
    "contributors": [
        "hustcc <i@hust.cc>",
        "yuzhanglong <loveyzl1123@gmail.com>"
    ],
    "scripts": {
        "test": "jest --no-cache",
        "pretest": "npm run build",
        "build:cjs": "tsc -p tsconfig.json --target ESNext --outDir lib",
        "typecheck": "tsc -p tsconfig.json --noEmit",
        "format": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
        "lint": "npm run typecheck && prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
        "build": "rm -rf esm lib && npm run build:cjs",
        "clean": "rm -rf lib esm",
        "watch": "tsc -w",
        "cli-run": "node ./lib/src/lint-md.js examples/correct-title-trailing-punctuation.md",
        "benchmark:memory": "node scripts/benchmark-memory.mjs",
        "test:benchmark-memory": "node scripts/benchmark-memory-smoke.mjs",
        "test:package": "node scripts/test-package.mjs",
        "prepublishOnly": "npm run lint && npm test && npm run test:package"
    },
    "files": [
        "lib/package.json",
        "lib/src",
        "CHANGELOG.md"
    ],
    "keywords": [
        "lint",
        "markdown",
        "lint-md",
        "cli"
    ],
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "node",
        "modulePathIgnorePatterns": [
            "<rootDir>/lib/"
        ],
        "collectCoverage": true,
        "collectCoverageFrom": [
            "src/**/*.{js,jsx,ts,tsx}",
            "!**/node_modules/**",
            "!**/vendor/**"
        ],
        "testMatch": [
            "**/__tests__/**/?(*.)(spec|test).ts?(x)"
        ]
    },
    "dependencies": {
        "@lint-md/core": "^2.3.1",
        "chalk": "^4",
        "commander": "^9.4.1",
        "glob": "^13.0.6",
        "piscina": "^5.1.4",
        "strip-ansi": "^6.0.1",
        "text-table": "^0.2.0"
    },
    "devDependencies": {
        "@types/jest": "^30.0.0",
        "@types/node": "^22.9.3",
        "@types/text-table": "^0.2.5",
        "jest": "^30.0.0",
        "prettier": "^2.7.1",
        "ts-jest": "^29.4.7",
        "tsx": "^4.22.4",
        "typescript": "^6.0.3"
    },
    "overrides": {
        "js-yaml": "^3.15.0"
    },
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/lint-md/cli/issues"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/lint-md/cli.git"
    },
    "publishConfig": {
        "registry": "https://registry.npmjs.org"
    },
    "homepage": "https://github.com/lint-md/cli#readme"
}
