From dcc700601b3adffab5698528f206b09829864d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Sat, 12 Jan 2019 13:48:58 -0300 Subject: [PATCH] script npm --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 77f3360..31ce786 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,12 @@ "description": "foca-crear-login", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, + "test": "echo \"Error: no test specified\" && exit 1", + "compile": "gulp uglify && gulp html", + "gulp-pre-commit": "gulp pre-commit", + "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js", + "install-dev": "npm install angular bootstrap font-awesome jquery gulp gulp-connect jasmine-core pre-commit gulp-angular-templatecache gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify-es jshint pump" + }, "repository": { "type": "git", "url": "git@git.focasoftware.com:npm/foca-crear-login.git" -- 1.9.1