minify und so

This commit is contained in:
Flummi 2019-05-07 20:22:59 +00:00
parent 06f665b220
commit bb0638bf30

View File

@ -4,7 +4,9 @@
"description": "f0ck, kennste?",
"main": "index.mjs",
"scripts": {
"start": "node --experimental-modules src/"
"start": "npm run minify && node --experimental-modules src/",
"debug": "cp public/js/f0ck.js public/js/f0ck.min.js && node --experimental-modules src/",
"minify": "/usr/bin/uglifyjs public/js/f0ck.js -c -m --ecma 8 --warn -o public/js/f0ck.min.js"
},
"author": "Flummi",
"license": "ISC",