From fe281b3066cc3526e5337d46d13d12c419e65b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Fri, 5 Oct 2018 13:50:45 -0300 Subject: [PATCH] arreglos en package.json y gulpfile --- gulpfile.js | 2 ++ package.json | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 209ccfd..24e73ca 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -61,6 +61,8 @@ gulp.task('pre-commit', function() { gulp.start('templates'); }); +gulp.task('compile', ['templates', 'uglify']); + gulp.task('webserver', function() { pump [ connect.server({port: 3000}) diff --git a/package.json b/package.json index df5f41c..9d5d5a3 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,9 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "compile": "gulp templates && gulp uglify", "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 jquery font-awesome gulp gulp-concat gulp-jshint gulp-rename gulp-replace gulp-uglify-es jshint pump gulp-connect jasmine-core pre-commit" + "postinstall": "gulp compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js", + "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": [ "gulp-pre-commit" -- 1.9.1