Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Oct 11, 2018
1 parent ebc5b43 commit e74de74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
13 changes: 1 addition & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
const gulp = require('gulp')
const standard = require('gulp-standard')
const rename = require('gulp-rename')
const uglify = require('gulp-uglify')
const license = require('gulp-header-license')
const fs = require('fs')
const year = (new Date()).getFullYear()

gulp.task('lint', function () {
return gulp
.src('fingerprint2.js')
.pipe(standard())
.pipe(standard.reporter('default', {
breakOnError: false,
quiet: false
}))
})

gulp.task('minify', function () {
return gulp
.src('fingerprint2.js')
Expand All @@ -34,4 +23,4 @@ gulp.task('minify', function () {
.pipe(gulp.dest('dist/'))
})

gulp.task('default', ['lint', 'minify'], function () {})
gulp.task('default', gulp.series('minify', function (done) { done() }))
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fingerprintjs2",
"version": "2.0.1",
"version": "2.0.3",
"description": "Modern & flexible browser fingerprinting library",
"repository": {
"type": "git",
Expand All @@ -21,11 +21,11 @@
"homepage": "https://github.com/Valve/fingerprintjs2",
"main": "dist/fingerprint2.min.js",
"devDependencies": {
"gulp": "^3.9.1",
"gulp": "^4.0.0",
"gulp-util": "^3.0.8",
"gulp-header-license": "^1.0.9",
"gulp-rename": "^1.2.2",
"gulp-standard": "^10.1.1",
"gulp-uglify": "^3.0.0",
"gulp-rename": "^1.4.0",
"gulp-uglify": "^3.0.1",
"standard": "^10.0.3"
},
"scripts": {
Expand Down

0 comments on commit e74de74

Please sign in to comment.