Skip to content

Commit

Permalink
Merge pull request #24 from yantrashala/gulp-ssl
Browse files Browse the repository at this point in the history
npm modules upgrade
  • Loading branch information
slahiri authored Mar 11, 2017
2 parents b09226e + 1ff2441 commit 73b908e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 40 deletions.
13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

15 changes: 0 additions & 15 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,6 @@ function isFixed(file) {
return file.eslint != null && file.eslint.fixed;
}

gulp.task('lint', function() {
var hasFixFlag = (process.argv.slice(2).indexOf('--fix') >= 0);
return gulp.src([
'index.js',
'lib/**/*.js',
'!node_modules/**'])
.pipe(eslint({
fix: hasFixFlag
}))
.pipe(eslint.format())
.pipe(gulpIf(isFixed, gulp.dest('./.fixtures')))
.pipe(eslint.failAfterError());
});

gulp.task('test', function (cb) {
gulp.src([
'index.js',
Expand Down Expand Up @@ -72,7 +58,6 @@ gulp.task('codacy', function codacyTask() {

gulp.task('default', [
'test',
'lint',
'shrinkwrap',
'nsp',
'codacy'
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "loopback-ssl",
"version": "0.0.9",
"version": "1.0.0",
"description": "Node module to enable HTTPS/SSL in a loopback application with simple configurations. The module in addition enables trusted peer authentication.",
"main": "index.js",
"scripts": {
"test": "mocha test"
"test": "mocha test",
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand All @@ -27,29 +28,29 @@
"homepage": "https://github.com/yantrashala/loopback-ssl#readme",
"devDependencies": {
"chai": "3.5.0",
"codacy-coverage": "2.0.0",
"codacy-coverage": "2.0.1",
"compression": "1.6.2",
"cors": "2.8.1",
"eslint-config-loopback": "4.0.0",
"gulp": "3.9.1",
"gulp-codacy": "1.0.0",
"gulp-eslint": "3.0.1",
"gulp-exit": "0.0.2",
"gulp-if": "2.0.1",
"gulp-istanbul": "1.0.0",
"gulp-mocha": "2.2.0",
"gulp-if": "2.0.2",
"gulp-istanbul": "1.1.1",
"gulp-mocha": "4.1.0",
"gulp-nsp": "2.4.2",
"gulp-shrinkwrap": "2.0.1",
"gulp-shrinkwrap": "2.0.3",
"helmet": "1.3.0",
"loopback": "2.36.0",
"loopback-boot": "2.23.0",
"loopback-component-explorer": "2.7.0",
"loopback-datasource-juggler": "2.53.0",
"loopback-testing": "1.4.0",
"mocha": "3.1.2",
"mocha-lcov-reporter": "1.2.0",
"mocha": "3.2.0",
"mocha-lcov-reporter": "1.3.0",
"serve-favicon": "2.0.1",
"shrinkwrap": "0.4.0",
"tape": "4.6.2"
}
}
},
"dependencies": {}
}

0 comments on commit 73b908e

Please sign in to comment.