diff options
author | oupala | 2020-06-19 02:12:13 +0200 |
---|---|---|
committer | oupala | 2020-07-02 11:55:44 +0200 |
commit | 3d0cdc914ca8d268af56e46299bb2b4c18507c49 (patch) | |
tree | e1fd8067cbec65498e1868773d8c4d5dcad3ecb3 | |
parent | d34775b19463982b7502a3023e5a5f700f9dcc2c (diff) |
feat: add remark-lint dependencies and script
Add remark-lint dependencies as dev dependencies, and an npm script alias to launch markdown linting with `npm run markdownlint`.
Signed-off-by: oupala <oupala@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index da8348f0..c6538255 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "test": "npm run-script eslint && npm run-script jsonlint && npm run-script mocha-suite", "eslint": "node_modules/.bin/eslint --max-warnings 0 lib public test app.js", "jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done", + "markdownlint": "remark .", "mocha-suite": "NODE_ENV=test CMD_DB_URL=\"sqlite::memory:\" mocha --exit", "standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1", "dev": "webpack --config webpack.dev.js --progress --colors --watch", @@ -193,6 +194,8 @@ "mocha": "^5.2.0", "mock-require": "^3.0.3", "optimize-css-assets-webpack-plugin": "^5.0.3", + "remark-cli": "^8.0.0", + "remark-preset-lint-markdown-style-guide": "^3.0.0", "script-loader": "^0.7.2", "string-loader": "^0.0.1", "style-loader": "^1.0.0", |