From 5226dd7e7f030b1767bd1d4f38ffd7a7631f431a Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Tue, 16 Oct 2018 11:55:09 -0300 Subject: [PATCH] =?UTF-8?q?-=20Agregu=C3=A9=20require=20para=20gulp-connec?= =?UTF-8?q?t.=20-=20Elimin=C3=A9=20un=20gulp-replace=20que=20estaba=20dupl?= =?UTF-8?q?icado=20en=20install-dev.=20-=20Elimin=C3=A9=20el=20archivo=20d?= =?UTF-8?q?e=20configuraci=C3=B3n=20develop.js=20-=20Agregu=C3=A9=20el=20a?= =?UTF-8?q?rchivo=20de=20configuraci=C3=B3n=20de=20ejemplo=20develop.ejemp?= =?UTF-8?q?lo.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 1 + package.json | 2 +- src/etc/develop.ejemplo.js | 4 ++++ src/etc/develop.js | 5 ----- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 src/etc/develop.ejemplo.js delete mode 100644 src/etc/develop.js diff --git a/gulpfile.js b/gulpfile.js index 216dd49..18f3c44 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -8,6 +8,7 @@ const gulp = require('gulp'); const pump = require('pump'); const jshint = require('gulp-jshint'); const replace = require('gulp-replace'); +const connect = require('gulp-connect'); var paths = { srcJS: 'src/js/*.js', diff --git a/package.json b/package.json index e8873ce..2b946d0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "compile": "gulp uglify", "gulp-pre-commit": "gulp pre-commit", "postinstall": "npm run compile && gulp clean-post-install", - "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-replace jquery jshint pump" + "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es jquery jshint pump" }, "pre-commit": [ "gulp-pre-commit" diff --git a/src/etc/develop.ejemplo.js b/src/etc/develop.ejemplo.js new file mode 100644 index 0000000..f4736ed --- /dev/null +++ b/src/etc/develop.ejemplo.js @@ -0,0 +1,4 @@ +angular.module('focaAbmSectores') + .constant("API_ENDPOINT", { + 'URL': '//127.0.0.1:9000' + }); diff --git a/src/etc/develop.js b/src/etc/develop.js deleted file mode 100644 index e356e03..0000000 --- a/src/etc/develop.js +++ /dev/null @@ -1,5 +0,0 @@ -angular.module('focaAbmPreciosCondiciones') - .constant("API_ENDPOINT", { - 'URL': 'http://192.168.0.23:9900' - }); - \ No newline at end of file -- 1.9.1