restore bin/uglifyjs, no need to build it. Include perquisite files

This commit is contained in:
Moshe Brevda 2022-12-19 11:49:18 +02:00
parent 5f1fa60b38
commit e09d92dc52
3 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View File

@ -3,5 +3,5 @@
tmp/ tmp/
# files generated at build time # files generated at build time
bin/uglifyjs index.js
index.js *.js.map

View File

@ -18,6 +18,7 @@
}, },
"files": [ "files": [
"index.js", "index.js",
"tools/tty.js",
"LICENSE" "LICENSE"
], ],
"devDependencies": { "devDependencies": {
@ -26,7 +27,7 @@
}, },
"scripts": { "scripts": {
"test": "node test/compress.js && node test/mocha.js", "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": [ "keywords": [
"cli", "cli",