Skip to content

Commit

Permalink
chore(devdeps): replace uglify-js with more modern terser
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Stevens committed Nov 12, 2020
1 parent 9d0098d commit 83491c1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
35 changes: 22 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"scripts": {
"build": "rollup -c",
"size": "npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c",
"size": "npm run build && terser --compress --mangle -- ./dist/umd.js | gzip -c | wc -c",
"test": "npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript",
"test:typescript": "tsc --noEmit test/typescript.ts && ts-node test/typescript.ts"
},
Expand All @@ -41,9 +41,9 @@
"jsmd": "^1.0.2",
"rollup": "^2.33.1",
"tape": "^5.0.1",
"terser": "^5.3.8",
"ts-node": "^9.0.0",
"typescript": "=2.2.2",
"uglify-js": "^3.6.1"
"typescript": "=2.2.2"
},
"engines": {
"node": ">=0.10.0"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Merges the enumerable properties of two or more objects deeply.

> UMD bundle is 723B minified+gzipped
> UMD bundle is 716B minified+gzipped
## Getting Started

Expand Down

0 comments on commit 83491c1

Please sign in to comment.