refactor: build scripts before release
This commit is contained in:
parent
f2b6f1def0
commit
5f1fa60b38
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,3 +1,7 @@
|
|||
/node_modules/
|
||||
/npm-debug.log
|
||||
tmp/
|
||||
|
||||
# files generated at build time
|
||||
bin/uglifyjs
|
||||
index.js
|
||||
|
|
@ -12,14 +12,12 @@
|
|||
"Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)"
|
||||
],
|
||||
"repository": "mishoo/UglifyJS",
|
||||
"main": "tools/node.js",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"uglifyjs": "bin/uglifyjs"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"lib",
|
||||
"tools",
|
||||
"index.js",
|
||||
"LICENSE"
|
||||
],
|
||||
"devDependencies": {
|
||||
|
|
@ -27,7 +25,8 @@
|
|||
"semver": "~6.3.0"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"keywords": [
|
||||
"cli",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user