Skip to content

Commit

Permalink
test: use npm-run-all to run test and lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Nov 11, 2021
1 parent f93b4be commit 810e9d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Expand Up @@ -14,7 +14,11 @@
"node": ">=12"
},
"scripts": {
"test": "xo && nyc ava && markdownlint '**/*.md'",
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
"lint:js": "xo",
"lint:md": "markdownlint '**/*.md'",
"test": "npm-run-all --continue-on-error lint test:*",
"test:js": "nyc ava",
"create-rule": "node ./scripts/create-rule.mjs && npm run generate-rules-table && npm run generate-usage-example",
"run-rules-on-codebase": "node ./test/run-rules-on-codebase/lint.mjs",
"integration": "node ./test/integration/test.mjs",
Expand Down Expand Up @@ -73,6 +77,7 @@
"lodash-es": "4.17.21",
"markdownlint-cli": "^0.29.0",
"mem": "^9.0.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"outdent": "^0.8.0",
"typescript": "^4.4.2",
Expand Down

0 comments on commit 810e9d4

Please sign in to comment.