From ebcbbcdd70f84319ccecfd48d1d89214e94aab2f Mon Sep 17 00:00:00 2001 From: dblock Date: Fri, 10 May 2024 16:42:43 -0400 Subject: [PATCH] Run dredd with hookfiles. Signed-off-by: dblock --- tools/package-lock.json | 3 --- tools/package.json | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/package-lock.json b/tools/package-lock.json index 2cedf80bc..38a8fe830 100644 --- a/tools/package-lock.json +++ b/tools/package-lock.json @@ -3061,7 +3061,6 @@ }, "node_modules/dredd-transactions/node_modules/@apielements/apib-parser": { "version": "0.20.1", - "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -3077,13 +3076,11 @@ }, "node_modules/dredd-transactions/node_modules/deckardcain": { "version": "1.0.0", - "extraneous": true, "inBundle": true, "license": "MIT" }, "node_modules/dredd-transactions/node_modules/drafter.js": { "version": "3.2.0", - "extraneous": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/tools/package.json b/tools/package.json index 15a5fbc1f..81a7c7e47 100644 --- a/tools/package.json +++ b/tools/package.json @@ -8,7 +8,8 @@ "merge": "ts-node merger/merge.ts", "lint:spec": "ts-node linter/lint.ts", "lint": "eslint .", - "test": "jest" + "test": "jest", + "dredd": "dredd --hookfiles=./dredd/all.js" }, "dependencies": { "@apidevtools/swagger-parser": "^10.1.0",