From bad2883e60864978faf7a2e936298ea1546c1e25 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Wed, 10 Oct 2018 14:28:21 -0300 Subject: [PATCH] modifico script para elminar archivos 'postinstall' agrego dependencia 'gulp-clean' --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b955da4..f4f918f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1", "gulp-pre-commit": "gulp pre-commit", "compile": "gulp uglify", - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js", + "postinstall": "npm run compile && gulp clean-post-install", "install-dev": "npm install -D angular bootstrap font-awesome gulp gulp-angular-templatecache gulp-concat gulp-connect gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify jasmine-core jquery jshint pre-commit pump ui-bootstrap4 && npm i -D git+https://192.168.0.11/modulos-npm/foca-directivas" }, "pre-commit": [ @@ -43,6 +43,7 @@ "font-awesome": "^4.7.0", "gulp": "^3.9.1", "gulp-angular-templatecache": "^2.2.1", + "gulp-clean": "^0.4.0", "gulp-concat": "^2.6.1", "gulp-connect": "^5.6.1", "gulp-htmlmin": "^5.0.1", -- 1.9.1