From 610b17e1a1b6912a893ae2a49422b5836b1c39c6 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 13 Nov 2021 21:17:43 -0800 Subject: [PATCH] Run sub-tasks of "serial-declaration-demo" script in parallel for ~20% script time reduction. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c78fb14..1e0d329e 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "docker-npm-install": "docker run --rm --tty --name npm-install --volume $PWD:/home/workdir --workdir /home/workdir --user node node:16 npm install", "lint": "eslint --max-warnings 0 .", "lint-test-repos": "ava --timeout=5m test/markdownlint-test-repos.js", - "serial-declaration-demo": "npm run declaration && npm run build-demo", + "serial-declaration-demo": "npm run build-declaration && npm-run-all --continue-on-error --parallel build-demo test-declaration", "test": "ava test/markdownlint-test.js test/markdownlint-test-custom-rules.js test/markdownlint-test-helpers.js test/markdownlint-test-result-object.js test/markdownlint-test-scenarios.js", "test-cover": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 npm test", "test-declaration": "cd example/typescript && tsc && node type-check.js",