This repository has been archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5dd612
commit 824b470
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
var gulp = require('gulp'); | ||
var uglify = require('gulp-uglify'); | ||
|
||
gulp.task("uglify-js", function() { | ||
return gulp.src("src/*.js") | ||
.pipe(uglify({ | ||
compress: { | ||
hoist_funs: true, | ||
hoist_vars: false, | ||
warnings: false, | ||
drop_console: false, | ||
keep_fnames: false, | ||
passes: 1 | ||
} | ||
})) | ||
.pipe(gulp.dest("dist/")); | ||
}); | ||
|
||
gulp.task("default", ["uglify-js"]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "lg-autoupdate", | ||
"version": "1.0.0", | ||
"description": "Adds the possiblity to lightgallery to update the gallery after new images are added to the gallery", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/hummal/lg-autoupdate.git" | ||
}, | ||
"keywords": [ | ||
"lightgallery", | ||
"autoupdate" | ||
], | ||
"author": "Philipp Winterle", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/hummal/lg-autoupdate/issues" | ||
}, | ||
"homepage": "https://github.com/hummal/lg-autoupdate#readme", | ||
"dependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-uglify": "^2.0.0" | ||
} | ||
} |