diff --git a/gulpfile.js b/gulpfile.js index 25b0980..6026b5b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -75,4 +75,4 @@ gulp.task('webserver', function() { ] }); -gulp.task('default', ['webserver']); \ No newline at end of file +gulp.task('default', ['webserver']); diff --git a/package.json b/package.json index 0ff5f6a..bb15b4c 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,18 @@ { "name": "foca-login", - "version": "1.0.0", + "version": "0.0.1", "description": "Login", "main": "dist/foca-login.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "compile": "gulp uglify", - "pre-commit": [ - "gulp-pre-commit" - ], - "postinstall": "npm run compile && rm -R src && rm index.html && rm .jshintrc && rm gulpfile.js" + "compile": "gulp compile", + "gulp-pre-commit": "gulp pre-commit", + "postinstall": "npm run compile && gulp clean-post-install", + "install-dev": "npm install -D gulp gulp-connect jasmine-core pre-commit angular bootstrap font-awesome gulp-angular-templatecache gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es jquery jshint pump" }, + "pre-commit": [ + "gulp-pre-commit" + ], "repository": { "type": "git", "url": "https://192.168.0.11/modulos-npm/foca-login.git" @@ -32,24 +34,23 @@ "pump": "^3.0.x" }, "devDependencies": { + "angular": "^1.7.4", + "bootstrap": "^4.1.3", + "font-awesome": "^4.7.0", + "gulp": "^3.9.1", + "gulp-angular-templatecache": "^2.2.1", + "gulp-clean": "^0.4.0", "gulp-connect": "^5.6.1", - "jasmine-core": "3.2.1", - "pre-commit": "^1.2.2" - }, - "dependencies": { - "angular": "1.7.4", - "bootstrap": "4.1.3", - "font-awesome": "4.7.0", - "gulp-angular-templatecache": "2.2.1", - "gulp-clean": "0.4.0", - "gulp-htmlmin": "5.0.1", - "gulp-jshint": "2.1.0", - "gulp-rename": "1.4.0", - "gulp-replace": "1.0.0", - "gulp-sequence": "1.0.0", - "gulp-uglify-es": "1.0.4", - "jquery": "3.3.1", - "jshint": "2.9.6", - "pump": "3.0.0" + "gulp-htmlmin": "^5.0.1", + "gulp-jshint": "^2.1.0", + "gulp-rename": "^1.4.0", + "gulp-replace": "^1.0.0", + "gulp-sequence": "^1.0.0", + "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" } }