add test using eslint

This commit is contained in:
Tilman Kranz 2024-11-11 03:14:48 +01:00 committed by Tilman Kranz
parent c8b75a7f3f
commit 14f2cf536f

View File

@ -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 <tilt@linuxfoo.de>",
"license": "MIT",
"dependencies": {
"eslint": "^9.14.0",
"minify": "^11.4.1"
}
}