From 57eab6faa828228c32c09767ec27f38f4c72bbfb Mon Sep 17 00:00:00 2001 From: David Chambers Date: Mon, 18 Sep 2023 20:05:27 +0200 Subject: [PATCH] package.json: support `npm test` When using a recent version of npm, `npm test` fails if there is no test script defined. This is problematic because xyz runs `npm test` as part of the automated release process. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index d77ef85..6f030f3 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,9 @@ "uglify-js": "3.5.x", "xyz": "4.0.x" }, + "scripts": { + "test": "make lint test" + }, "files": [ "/LICENSE", "/README.md",