mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
67 lines
3 KiB
JSON
67 lines
3 KiB
JSON
{
|
|
"name": "markdownlint",
|
|
"version": "0.19.0",
|
|
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
|
"main": "lib/markdownlint.js",
|
|
"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": {
|
|
"test": "node test/markdownlint-test.js",
|
|
"test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 node test/markdownlint-test.js",
|
|
"test-declaration": "cd example/typescript && tsc && node type-check.js",
|
|
"test-extra": "node test/markdownlint-test-extra.js",
|
|
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
|
|
"lint": "eslint --max-warnings 0 lib helpers test schema && eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0, no-extend-native: 0, max-statements: 0, no-console: 0, no-var: 0\" demo && eslint --rule \"no-console: 0, no-invalid-this: 0, no-shadow: 0, object-property-newline: 0\" example",
|
|
"ci": "npm run test-cover && npm run lint && npm run test-declaration",
|
|
"build-config-schema": "node schema/build-config-schema.js",
|
|
"build-declaration": "tsc --allowJs --declaration --outDir declaration --resolveJsonModule lib/markdownlint.js && cpy declaration/lib/markdownlint.d.ts lib && rimraf declaration",
|
|
"build-demo": "cpy node_modules/markdown-it/dist/markdown-it.min.js demo && cd demo && rimraf markdownlint-browser.* && cpy file-header.js . --rename=markdownlint-browser.js && tsc --allowJs --resolveJsonModule --outDir ../lib-es3 ../lib/markdownlint.js && cpy ../helpers/package.json ../lib-es3/helpers && browserify ../lib-es3/lib/markdownlint.js --standalone markdownlint >> markdownlint-browser.js && uglifyjs markdownlint-browser.js --compress --mangle --comments --output markdownlint-browser.min.js",
|
|
"build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",
|
|
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"dependencies": {
|
|
"markdown-it": "10.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "~13.11.1",
|
|
"browserify": "~16.5.1",
|
|
"c8": "~7.1.0",
|
|
"cpy-cli": "~3.1.0",
|
|
"eslint": "~6.8.0",
|
|
"eslint-plugin-jsdoc": "~22.1.0",
|
|
"glob": "~7.1.6",
|
|
"js-yaml": "~3.13.1",
|
|
"markdown-it-for-inline": "~0.1.1",
|
|
"markdown-it-katex": "~2.0.3",
|
|
"markdown-it-sub": "~1.0.0",
|
|
"markdown-it-sup": "~1.0.0",
|
|
"markdownlint-rule-helpers": "~0.7.0",
|
|
"rimraf": "~3.0.2",
|
|
"tape": "~4.13.2",
|
|
"tape-player": "~0.1.0",
|
|
"toml": "~3.0.0",
|
|
"tv4": "~1.3.0",
|
|
"typescript": "~3.8.3",
|
|
"uglify-js": "~3.8.1"
|
|
},
|
|
"keywords": [
|
|
"markdown",
|
|
"lint",
|
|
"md",
|
|
"CommonMark",
|
|
"markdownlint"
|
|
],
|
|
"browser": {
|
|
"markdown-it": "../demo/markdown-it-stub.js"
|
|
}
|
|
}
|