mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Fix jsonlint script
Yarn 2 has its own script interpreter, which does not support loops. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
50b60e30f1
commit
5df8a45413
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"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",
|
||||
"jsonlint": "find . \\( -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' \\) -print0 | xargs -0 -I 'file' jq . file",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue