From 2035c0b47c8ba281e31c375b87b817b485c99352 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Wed, 10 Oct 2018 14:04:23 -0300 Subject: [PATCH] modifico script post install y agrego gulp-clean --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9f58b27..0758366 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "compile": "gulp uglify", - "postinstall": "npm run compile && rm -R src && rm -R tmp && rm .jshintrc && rm gulpfile.js" + "compile": "gulp uglify", + "postinstall": "npm run compile && gulp clean-post-install" }, "pre-commit": [ "gulp-pre-commit" @@ -32,6 +32,7 @@ "devDependencies": { "angular": "^1.7.4", "gulp": "^3.9.1", + "gulp-clean": "^0.4.0", "gulp-concat": "^2.6.1", "gulp-jshint": "^2.1.0", "gulp-rename": "^1.4.0", @@ -41,4 +42,4 @@ "jshint": "^2.9.6", "pump": "^3.0.0" } -} \ No newline at end of file +} -- 1.9.1