-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from haasted/use-gulp
Use gulp
- Loading branch information
Showing
7 changed files
with
56 additions
and
2 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,2 @@ | ||
/dist/ | ||
/node_modules/ |
This file was deleted.
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,24 @@ | ||
var gulp = require('gulp'), | ||
minify = require('gulp-minify'), | ||
del = require('del'), | ||
stripDebug = require('gulp-strip-debug'); | ||
|
||
gulp.task('default', ['clean', 'minify']); | ||
|
||
gulp.task('minify', function() { | ||
gulp.src('src/jdocenhance.js') | ||
.pipe(stripDebug()) | ||
.pipe(minify({})) | ||
.pipe(gulp.dest('dist')); | ||
|
||
gulp.src('src/bookmarklet.js') | ||
.pipe(stripDebug()) | ||
.pipe(minify({})) | ||
.pipe(gulp.dest('dist')); | ||
}); | ||
|
||
gulp.task('clean', function() { | ||
return del( | ||
['dist/*'] | ||
); | ||
}); |
This file was deleted.
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,30 @@ | ||
{ | ||
"name": "javadoc-enhancer", | ||
"version": "1.0.0", | ||
"description": "Javadoc-Enhander adds a powerful search-field to the class list of Javadoc page. The search field allows the use of wildcards and mimics the camel-case notation used for navigating classes in tools such as IntelliJ IDEA and Eclipse.", | ||
"main": "gulpfile.js", | ||
"scripts": { | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/haasted/Javadoc-Enhancer.git" | ||
}, | ||
"keywords": [ | ||
"java", | ||
"javadoc", | ||
"bookmarklet" | ||
], | ||
"author": "Henrik Aasted Sørensen <henrik@aasted.dk>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/haasted/Javadoc-Enhancer/issues" | ||
}, | ||
"homepage": "https://github.com/haasted/Javadoc-Enhancer#readme", | ||
"devDependencies": { | ||
"del": "^2.2.2", | ||
"gulp": "^3.9.1", | ||
"gulp-minify": "0.0.14", | ||
"gulp-strip-debug" : "1.1.0" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.