From e09d92dc5221cf67021945fe9da049c752d19f6a Mon Sep 17 00:00:00 2001 From: Moshe Brevda Date: Mon, 19 Dec 2022 11:49:18 +0200 Subject: [PATCH] restore bin/uglifyjs, no need to build it. Include perquisite files --- .gitignore | 4 ++-- bin/{uglifyjs.js => uglifyjs} | 0 package.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) rename bin/{uglifyjs.js => uglifyjs} (100%) diff --git a/.gitignore b/.gitignore index 546c2e69..193d101c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,5 @@ tmp/ # files generated at build time -bin/uglifyjs -index.js \ No newline at end of file +index.js +*.js.map \ No newline at end of file diff --git a/bin/uglifyjs.js b/bin/uglifyjs similarity index 100% rename from bin/uglifyjs.js rename to bin/uglifyjs diff --git a/package.json b/package.json index 219abf1a..8855af46 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "files": [ "index.js", + "tools/tty.js", "LICENSE" ], "devDependencies": { @@ -26,7 +27,7 @@ }, "scripts": { "test": "node test/compress.js && node test/mocha.js", - "prepack": "bin/uglifyjs.js --self --mangle --compress --output index.js && bin/uglifyjs.js bin/uglifyjs.js --mangle --compress --output bin/uglifyjs" + "prepack": "bin/uglifyjs --self --beautify --source-map --output index.js" }, "keywords": [ "cli",