From a0245eb34219056c4f8aa3eed35f90a0085414a0 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Wed, 17 Oct 2018 16:40:55 -0300 Subject: [PATCH] agrego script pre-commit, quito dependencias --- package.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 88e11c8..b9c6ce4 100644 --- a/package.json +++ b/package.json @@ -6,27 +6,35 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "compile": "gulp uglify", - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js", - "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" + "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-uglify jquery jshint pump git+https://192.168.0.11/modulos-npm/foca-directivas.git git+https://192.168.0.11/modulos-npm/foca-modal-vendedores.git git+https://192.168.0.11/modulos-npm/foca-modal-petroleras.git git+https://192.168.0.11/nguarnieri/foca-modal-busqueda-productos git+https://192.168.0.11/modulos-npm/foca-busqueda-cliente.git" }, + "pre-commit": [ + "gulp-pre-commit" + ], "repository": { "type": "git", "url": "https://192.168.0.11/modulos-npm/foca-crear-nota-pedido.git" }, "author": "Foca Software", "license": "ISC", - "dependencies": { + "peerDependencies": { + "foca-busqueda-cliente": "git+https://192.168.0.11/modulos-npm/foca-busqueda-cliente.git", "foca-directivas": "git+https://192.168.0.11/modulos-npm/foca-directivas.git", "foca-modal-busqueda-productos": "git+https://192.168.0.11/nguarnieri/foca-modal-busqueda-productos", "foca-modal-petroleras": "git+https://192.168.0.11/modulos-npm/foca-modal-petroleras.git", - "foca-modal-vendedores": "git+https://192.168.0.11/modulos-npm/foca-modal-vendedores.git", - "jquery": "^3.3.x" + "foca-modal-vendedores": "git+https://192.168.0.11/modulos-npm/foca-modal-vendedores.git" }, "devDependencies": { "angular": "^1.7.5", "angular-route": "^1.7.5", "bootstrap": "^4.1.3", - "foca-busqueda-cliente": "git+https://192.168.0.11/modulos-npm/foca-busqueda-cliente", + "foca-busqueda-cliente": "git+https://192.168.0.11/modulos-npm/foca-busqueda-cliente.git", + "foca-directivas": "git+https://192.168.0.11/modulos-npm/foca-directivas.git", + "foca-modal-busqueda-productos": "git+https://192.168.0.11/nguarnieri/foca-modal-busqueda-productos", + "foca-modal-petroleras": "git+https://192.168.0.11/modulos-npm/foca-modal-petroleras.git", + "foca-modal-vendedores": "git+https://192.168.0.11/modulos-npm/foca-modal-vendedores.git", "font-awesome": "^4.7.0", "gulp": "^3.9.1", "gulp-angular-templatecache": "^2.2.2", @@ -37,9 +45,11 @@ "gulp-jshint": "^2.1.0", "gulp-rename": "^1.4.0", "gulp-replace": "^1.0.0", + "gulp-sequence": "^1.0.0", "gulp-uglify": "^3.0.1", "gulp-uglify-es": "^1.0.4", "jasmine-core": "^3.2.1", + "jquery": "^3.3.1", "jshint": "^2.9.6", "pre-commit": "^1.2.2", "pump": "^3.0.0", -- 1.9.1