diff options
author | ache <ache@ache.one> | 2021-05-25 00:56:50 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2021-05-25 00:56:50 +0200 |
commit | 580b1c384bb2d407cc18e7d8764d7caaa8c3aad3 (patch) | |
tree | 7fcb33b950c6d98862992e2919c2bd29d08a70c2 /package.json | |
parent | Add animation to text presentation (diff) |
Update packages
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/package.json b/package.json index 0cc54f4..5c6c3ba 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Ache's personal website", "scripts": { "pretest": "xo", - "prepare": "del-cli tmp/dist && cross-env BABEL_ENV=production babel src/js --out-dir tmp/dist;uglifyjs tmp/dist/*.js -mangle --mangle-top-level -c toplevel -o s/js/main.js" + "prepare": "terser src/js/zen.js -o s/js/main.js" }, "dependencies": { "rehype-format": "^2.2.0", @@ -30,13 +30,8 @@ "remark-toc": "^7.0.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "cross-env": "^5.2.0", + "terser": "^5.5.1", "del-cli": "^1.1.0", - "uglify-js": "3.6.x", "xo": "^0.23.0" }, "xo": { |