This adds linting for code fence language/grammar strings. This is so, for example, we have only one of ```text and ```txt and not both. PR-URL: https://github.com/nodejs/node/pull/33852 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
24 lines
664 B
JSON
24 lines
664 B
JSON
{
|
|
"name": "node-lint-md-cli-rollup",
|
|
"description": "remark packaged for Node.js Markdown linting",
|
|
"version": "2.0.2",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^11.0.1",
|
|
"@rollup/plugin-json": "^4.0.1",
|
|
"@rollup/plugin-node-resolve": "^7.0.0",
|
|
"rollup": "^1.30.1",
|
|
"shx": "^0.3.2"
|
|
},
|
|
"dependencies": {
|
|
"markdown-extensions": "^1.1.1",
|
|
"remark": "^12.0.0",
|
|
"remark-lint": "^7.0.0",
|
|
"remark-preset-lint-node": "^1.16.0",
|
|
"unified-args": "^8.0.0"
|
|
},
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "npx rollup -c",
|
|
"build-node": "npm run build && npx shx cp dist/index.js ../lint-md.js"
|
|
}
|
|
}
|