From 422446c9145d18e229d452dfbd53401255f22ffe Mon Sep 17 00:00:00 2001 From: tilt12345678 Date: Mon, 11 Nov 2024 02:36:39 +0100 Subject: [PATCH] add minify configfile --- .minify.json | 8 ++++++++ package.json | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .minify.json create mode 100644 package.json diff --git a/.minify.json b/.minify.json new file mode 100644 index 0000000..688c84f --- /dev/null +++ b/.minify.json @@ -0,0 +1,8 @@ +{ + "js": { + "type": "terser", + "terser": { + "mangle": false + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..41d325d --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "myplayer", + "version": "1.0.0", + "description": "A Web-MP3-Player with Playlist Support", + "main": "src/player.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://tk-sls.de/git/tk-sls.de/myplayer.git" + }, + "author": "tilt ", + "license": "MIT", + "dependencies": { + "minify": "^11.4.1" + } +}