Skip to content

Commit

Permalink
Replace no longer maintained uglify-es with terser
Browse files Browse the repository at this point in the history
  • Loading branch information
magjac committed Mar 8, 2020
1 parent 6542008 commit 975dba2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 28 deletions.
59 changes: 35 additions & 24 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"do-test": "mkdir -p http:; ln -nsf .. http://dummyhost; $TESTRUNNER 'test/**/*-test.js'",
"report": "nyc report --reporter=lcov",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"prepublishOnly": "env NODE_ENV=production npm run build && uglifyjs build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"prepublishOnlyOriginal": "env NODE_ENV=production npm run build && TESTRUNNER='tape' npm run do-test && uglifyjs build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"prepublishOnly": "env NODE_ENV=production npm run build && terser build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"prepublishOnlyOriginal": "env NODE_ENV=production npm run build && TESTRUNNER='tape' npm run do-test && terser build/d3-graphviz.js -c -m -o build/d3-graphviz.min.js",
"publicbuild": "env NODE_ENV=production npm run build",
"postpublish": "zip -j build/d3-graphviz.zip -- LICENSE README.md build/d3-graphviz.js build/d3-graphviz.min.js"
},
Expand Down Expand Up @@ -57,8 +57,8 @@
"rollup": "0.46.0",
"rollup-plugin-babel": "^3.0.3",
"tape": "^4.9.0",
"tiny-worker": "^2.1.2",
"uglify-es": "^3.0.27"
"terser": "^4.6.6",
"tiny-worker": "^2.1.2"
},
"dependencies": {
"@hpcc-js/wasm": "^0.3.8",
Expand Down

0 comments on commit 975dba2

Please sign in to comment.