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

2
.gitignore vendored
View File

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

View File

@ -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",