2015-02-22 21:30:09 -08:00
|
|
|
{
|
|
|
|
|
"name": "markdownlint",
|
2020-05-14 21:49:05 -07:00
|
|
|
"version": "0.20.3",
|
2016-03-11 21:36:39 -08:00
|
|
|
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
2015-02-23 23:39:20 -08:00
|
|
|
"main": "lib/markdownlint.js",
|
2019-11-10 19:26:55 -08:00
|
|
|
"types": "lib/markdownlint.d.ts",
|
2016-09-28 21:45:26 -07:00
|
|
|
"author": "David Anson (https://dlaa.me/)",
|
2015-02-22 21:30:09 -08:00
|
|
|
"license": "MIT",
|
|
|
|
|
"homepage": "https://github.com/DavidAnson/markdownlint",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/DavidAnson/markdownlint.git"
|
|
|
|
|
},
|
2015-04-17 21:57:10 -07:00
|
|
|
"bugs": "https://github.com/DavidAnson/markdownlint/issues",
|
2015-02-22 21:30:09 -08:00
|
|
|
"scripts": {
|
2020-01-08 22:13:51 -08:00
|
|
|
"test": "node test/markdownlint-test.js",
|
2020-01-11 12:57:39 -08:00
|
|
|
"test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 node test/markdownlint-test.js",
|
2019-11-10 19:26:55 -08:00
|
|
|
"test-declaration": "cd example/typescript && tsc && node type-check.js",
|
2020-01-08 22:13:51 -08:00
|
|
|
"test-extra": "node test/markdownlint-test-extra.js",
|
2015-02-27 22:06:54 -08:00
|
|
|
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
|
2020-01-23 19:42:46 -08:00
|
|
|
"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",
|
2020-01-06 22:09:07 -08:00
|
|
|
"ci": "npm run test-cover && npm run lint && npm run test-declaration",
|
2016-10-05 22:21:54 -07:00
|
|
|
"build-config-schema": "node schema/build-config-schema.js",
|
2019-11-10 19:26:55 -08:00
|
|
|
"build-declaration": "tsc --allowJs --declaration --outDir declaration --resolveJsonModule lib/markdownlint.js && cpy declaration/lib/markdownlint.d.ts lib && rimraf declaration",
|
2019-04-14 21:57:57 -07:00
|
|
|
"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",
|
2017-11-22 21:41:14 -08:00
|
|
|
"build-example": "npm install --no-save --ignore-scripts grunt grunt-cli gulp through2",
|
2020-05-08 11:53:08 -07:00
|
|
|
"example": "cd example && node standalone.js && grunt markdownlint --force && gulp markdownlint",
|
|
|
|
|
"clone-test-repos": "make-dir test-repos && cd test-repos && git clone https://github.com/eslint/eslint eslint-eslint --depth 1 --no-tags --quiet && git clone https://github.com/mkdocs/mkdocs mkdocs-mkdocs --depth 1 --no-tags --quiet && git clone https://github.com/pi-hole/docs pi-hole-docs --depth 1 --no-tags --quiet",
|
2020-05-08 12:27:41 -07:00
|
|
|
"clone-test-repos-large": "npm run clone-test-repos && cd test-repos && git clone https://github.com/dotnet/docs dotnet-docs --depth 1 --no-tags --quiet",
|
2020-05-08 11:53:08 -07:00
|
|
|
"lint-test-repos": "node test/markdownlint-test-repos.js",
|
|
|
|
|
"clean-test-repos": "rimraf test-repos"
|
2015-02-22 21:30:09 -08:00
|
|
|
},
|
2018-03-06 21:49:16 -08:00
|
|
|
"engines": {
|
2020-01-09 21:13:11 -08:00
|
|
|
"node": ">=10"
|
2018-03-06 21:49:16 -08:00
|
|
|
},
|
2015-02-25 18:00:08 -08:00
|
|
|
"dependencies": {
|
2019-10-03 20:47:28 -07:00
|
|
|
"markdown-it": "10.0.0"
|
2015-02-25 18:00:08 -08:00
|
|
|
},
|
2015-02-22 21:30:09 -08:00
|
|
|
"devDependencies": {
|
2020-04-10 19:25:33 -07:00
|
|
|
"@types/node": "~13.11.1",
|
|
|
|
|
"browserify": "~16.5.1",
|
2020-05-14 21:27:36 -07:00
|
|
|
"c8": "~7.1.2",
|
2020-04-10 19:25:33 -07:00
|
|
|
"cpy-cli": "~3.1.0",
|
2020-01-27 19:10:01 -08:00
|
|
|
"eslint": "~6.8.0",
|
2020-04-10 19:25:33 -07:00
|
|
|
"eslint-plugin-jsdoc": "~22.1.0",
|
2020-05-08 11:53:08 -07:00
|
|
|
"globby": "~11.0.0",
|
2019-05-06 21:57:13 -07:00
|
|
|
"js-yaml": "~3.13.1",
|
2020-05-08 11:53:08 -07:00
|
|
|
"make-dir-cli": "~2.0.0",
|
2019-01-19 12:52:13 -08:00
|
|
|
"markdown-it-for-inline": "~0.1.1",
|
2019-01-21 18:21:36 -08:00
|
|
|
"markdown-it-katex": "~2.0.3",
|
2019-01-19 12:52:13 -08:00
|
|
|
"markdown-it-sub": "~1.0.0",
|
|
|
|
|
"markdown-it-sup": "~1.0.0",
|
2020-04-10 19:25:33 -07:00
|
|
|
"markdownlint-rule-helpers": "~0.7.0",
|
|
|
|
|
"rimraf": "~3.0.2",
|
2020-05-08 11:53:08 -07:00
|
|
|
"strip-json-comments": "~3.1.0",
|
2020-04-10 19:25:33 -07:00
|
|
|
"tape": "~4.13.2",
|
2020-02-15 11:22:16 -08:00
|
|
|
"tape-player": "~0.1.0",
|
2019-01-31 21:52:47 -08:00
|
|
|
"toml": "~3.0.0",
|
2018-04-25 21:14:20 -07:00
|
|
|
"tv4": "~1.3.0",
|
2020-04-10 19:25:33 -07:00
|
|
|
"typescript": "~3.8.3",
|
|
|
|
|
"uglify-js": "~3.8.1"
|
2015-02-22 21:30:09 -08:00
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"markdown",
|
|
|
|
|
"lint",
|
2015-04-17 21:57:10 -07:00
|
|
|
"md",
|
2017-11-20 21:53:50 -08:00
|
|
|
"CommonMark",
|
|
|
|
|
"markdownlint"
|
2015-06-17 09:09:33 -07:00
|
|
|
],
|
|
|
|
|
"browser": {
|
2019-01-31 22:33:48 -08:00
|
|
|
"markdown-it": "../demo/markdown-it-stub.js"
|
2015-06-17 09:09:33 -07:00
|
|
|
}
|
2015-02-22 21:30:09 -08:00
|
|
|
}
|