From 65632e3509169ed1b11053c704a8da59b6f9003d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Mon, 10 Dec 2018 11:53:27 -0300 Subject: [PATCH] postinstall en script --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1220a3b..744ba25 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,15 @@ "description": "foca-modal-cobranza", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "gulp-pre-commit": "gulp pre-commit", + "compile": "gulp uglify", + "postinstall": "npm run compile && gulp clean-post-install", + "install-dev": "npm install -D --ignore-scripts" }, + "pre-commit": [ + "gulp-pre-commit" + ], "repository": { "type": "git", "url": "git@debonline.dyndns.org:npm/foca-modal-cobranza.git" -- 1.9.1