From 14f2cf536f1bdb321756c759af6e1ebe49684b1d Mon Sep 17 00:00:00 2001 From: tilt12345678 Date: Mon, 11 Nov 2024 03:14:48 +0100 Subject: [PATCH] add test using eslint --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9a4e87c..6f5fb64 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "A Web-MP3-Player with Playlist Support", "main": "src/player.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "npx eslint src/player.js" }, "repository": { "type": "git", @@ -14,6 +14,7 @@ "author": "tilt ", "license": "MIT", "dependencies": { + "eslint": "^9.14.0", "minify": "^11.4.1" } }