Commit daea73b836bc3cb15d2f0ecebd9593e16e0cd697

Authored by Nicolás Guarnieri
1 parent e58577de83
Exists in master

mejor instalacion

Showing 2 changed files with 18 additions and 4 deletions   Show diff stats
... ... @@ -49,6 +49,22 @@ gulp.task('sass', function() {
49 49 .pipe(gulp.dest('css'));
50 50 });
51 51  
  52 +gulp.task('pre-install', function() {
  53 + pump([
  54 + gulp.src('package.json'),
  55 + replace('debonline.dyndns.org', 'git.focasoftware.com'),
  56 + gulp.dest('')
  57 + ]);
  58 +})
  59 +
  60 +gulp.task('post-install', function() {
  61 + pump([
  62 + gulp.src('package.json'),
  63 + replace('git.focasoftware.com', 'debonline.dyndns.org'),
  64 + gulp.dest('')
  65 + ]);
  66 +})
  67 +
52 68 gulp.task('pre-commit', function() {
53 69 pump(
54 70 [
... ... @@ -7,11 +7,9 @@
7 7 "initdev": "npm install gulp --global && npm install && npm install -g jshint",
8 8 "gulp-pre-commit": "gulp pre-commit",
9 9 "compile": "gulp uglify && gulp sass",
10   - "postinstall": "npm install foca-abm-plazo-pago foca-abm-precios-condiciones foca-abm-sectores foca-admin-seguimiento foca-botonera-principal foca-busqueda-cliente foca-configuracion foca-crear-hoja-ruta foca-crear-nota-pedido foca-crear-remito foca-directivas foca-filtros foca-hoja-ruta foca-login foca-modal foca-modal-busqueda-productos foca-modal-chofer foca-modal-cotizacion foca-modal-detalle-hoja-ruta foca-modal-domicilio foca-modal-flete foca-modal-moneda foca-modal-nota-pedido foca-modal-precio-condiciones foca-modal-proveedor foca-modal-remito foca-modal-tarifa-flete foca-modal-transportista foca-modal-vehiculo foca-modal-vendedores foca-nombre-empresa foca-seguimiento foca-teclado",
  10 + "postinstall": "npm install foca-abm-plazo-pago foca-abm-precios-condiciones foca-abm-sectores foca-abm-vehiculo foca-admin-seguimiento foca-botonera-principal foca-busqueda-cliente foca-configuracion foca-crear-cobranza foca-crear-hoja-ruta foca-crear-nota-pedido foca-crear-remito foca-directivas foca-filtros foca-hoja-ruta foca-login foca-modal foca-modal-banco foca-modal-busqueda-productos foca-modal-cheque foca-modal-chofer foca-modal-cobrador foca-modal-cotizacion foca-modal-detalle-hoja-ruta foca-modal-domicilio foca-modal-efectivo foca-modal-factura foca-modal-flete foca-modal-localidad foca-modal-moneda foca-modal-nota-pedido foca-modal-precio-condiciones foca-modal-proveedor foca-modal-provincia foca-modal-remito foca-modal-tarifa-flete foca-modal-transportista foca-modal-vehiculo foca-modal-vendedores foca-nombre-empresa foca-seguimiento foca-teclado",
11 11 "actualizar": "git pull origin master",
12   - "electron": "electron .",
13   - "electron-build": "gulp uglify && gulp html && gulp sass && electron .",
14   - "install-dev": "npm install angular angular-cookies angular-i18n angular-ladda angular-route angular-sanitize angular-ui-swiper bootstrap font-awesome gulp gulp-clean gulp-connect gulp-jshint jshint pump gulp-replace gulp-sass gulp-angular-templatecache gulp-htmlmin gulp-uglify gulp-uglify-es jquery ladda leaflet ngstorage node-sass uglify ui-bootstrap4 git+http://git.focasoftware.com/npm/foca-abm-plazo-pago.git git+http://git.focasoftware.com/npm/foca-abm-precios-condiciones.git git+http://git.focasoftware.com/npm/foca-abm-sectores.git git+http://git.focasoftware.com/npm/foca-abm-vehiculo.git git+http://git.focasoftware.com/npm/foca-admin-seguimiento.git git+http://git.focasoftware.com/npm/foca-botonera-principal.git git+http://git.focasoftware.com/npm/foca-busqueda-cliente.git git+http://git.focasoftware.com/npm/foca-configuracion.git git+http://git.focasoftware.com/npm/foca-crear-cobranza.git git+http://git.focasoftware.com/npm/foca-crear-hoja-ruta.git git+http://git.focasoftware.com/npm/foca-crear-nota-pedido.git git+http://git.focasoftware.com/npm/foca-crear-remito.git git+http://git.focasoftware.com/npm/foca-directivas.git git+http://git.focasoftware.com/npm/foca-filtros.git git+http://git.focasoftware.com/npm/foca-hoja-ruta.git git+http://git.focasoftware.com/npm/foca-login.git git+http://git.focasoftware.com/npm/foca-modal.git git+http://git.focasoftware.com/npm/foca-modal-busqueda-productos.git git+http://git.focasoftware.com/npm/foca-modal-cheque.git git+http://git.focasoftware.com/npm/foca-modal-chofer.git git+http://git.focasoftware.com/npm/foca-modal-cobrador.git git+http://git.focasoftware.com/npm/foca-modal-cotizacion.git git+http://git.focasoftware.com/npm/foca-modal-detalle-hoja-ruta.git git+http://git.focasoftware.com/npm/foca-modal-domicilio.git git+http://git.focasoftware.com/npm/foca-modal-efectivo.git git+http://git.focasoftware.com/npm/foca-modal-factura.git git+http://git.focasoftware.com/npm/foca-modal-flete.git git+http://git.focasoftware.com/npm/foca-modal-moneda.git git+http://git.focasoftware.com/npm/foca-modal-nota-pedido.git git+http://git.focasoftware.com/npm/foca-modal-precio-condiciones.git git+http://git.focasoftware.com/npm/foca-modal-proveedor.git git+http://git.focasoftware.com/npm/foca-modal-remito.git git+http://git.focasoftware.com/npm/foca-modal-tarifa-flete.git git+http://git.focasoftware.com/npm/foca-modal-transportista.git git+http://git.focasoftware.com/npm/foca-modal-vehiculo.git git+http://git.focasoftware.com/npm/foca-modal-vendedores.git git+http://git.focasoftware.com/npm/foca-seguimiento.git git+http://git.focasoftware.com/npm/foca-teclado.git git+http://git.focasoftware.com/npm/foca-modal-banco.git git+http://git.focasoftware.com/npm/foca-modal-localidad.git git+http://git.focasoftware.com/npm/foca-modal-provincia.git"
  12 + "install-dev": "gulp pre-install && npm install && gulp post-install"
15 13 },
16 14 "pre-commit": [
17 15 "gulp-pre-commit"