From 259f1e4b4ce6e566524a58454fac7bcc8a7de9db Mon Sep 17 00:00:00 2001 From: jiaming743 <743192023@qq.com> Date: Tue, 10 Sep 2019 15:08:35 +0800 Subject: [PATCH] add terser to compress umd file --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 329e7c1..2cee363 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "build": "node build/index.js", "prepublish": "npm run build", + "deploy": "node deploy/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "license": "MIT", @@ -34,10 +35,11 @@ "@babel/plugin-transform-runtime": "^7.5.5", "@babel/preset-env": "^7.5.5", "@jiaminghi/fs": "0.0.1", + "ftp": "^0.3.10", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-uglify": "^6.0.3", + "rollup-plugin-terser": "^5.1.1", "rollup-plugin-vue": "^5.0.1", "vue-template-compiler": "^2.6.10" }