From 9f4d31bab96e40e5371324e0c8b234312ff9210e Mon Sep 17 00:00:00 2001 From: eavichay Date: Wed, 5 Apr 2017 10:45:07 +0300 Subject: [PATCH] adding minification process --- .gitignore | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8585d16..9fe5183 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ pids # Binary .bin +Slim.min.js + .idea .vscode # Directory for instrumented libs generated by jscoverage/JSCover diff --git a/package.json b/package.json index d1c2905..33f19d1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Superpower Web Components", "main": "Slim.js", "scripts": { + "prepublish": "uglifyjs Slim.js -o Slim.min.js", "start": "uglifyjs Slim.js -o ./bin/Slim.min.js", "test": "echo \"Error: no test specified\" && exit 1" },