Skip to content

Commit 1828c5c

Browse files
committed
added jshint, and bower support
1 parent bbd830f commit 1828c5c

File tree

5 files changed

+135
-143
lines changed

5 files changed

+135
-143
lines changed

Gruntfile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@ module.exports = function(grunt) {
2121
dest: 'dist/css/',
2222
ext: '.min.css'
2323
}
24+
},
25+
jshint: {
26+
all: {
27+
src: 'src/js/jquery.zoomingbox.js'
28+
}
2429
}
2530

2631
});
2732

2833
grunt.loadNpmTasks('grunt-contrib-uglify');
2934
grunt.loadNpmTasks('grunt-contrib-cssmin');
35+
grunt.loadNpmTasks('grunt-contrib-jshint');
3036

3137

32-
grunt.registerTask('default', ['uglify', 'cssmin']);
38+
grunt.registerTask('default', ['jshint','uglify', 'cssmin']);
3339

3440
};

bower.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "zoomingbox",
3-
"version": "1.2",
4-
"homepage": "https://github.com/javiercf/zoomingbox",
3+
"version": "1.2.1",
4+
"homepage": "https://jcf-design/zoomingbox",
5+
"description": "A jQuery lightbox which enables you to use the lightbox modal as a container for a larger zoomed image, also supports jQuery galleries and thumbnail navigation",
56
"authors": [
67
"javiercf <[email protected]>"
78
],

dist/js/jquery.zoomingbox.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "ZoomingBox",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"devDependencies": {
55
"grunt": "~0.4.1",
6-
"grunt-contrib-uglify": "^0.4.0",
7-
"grunt-contrib-cssmin": "^0.9.0"
6+
"grunt-contrib-cssmin": "^0.9.0",
7+
"grunt-contrib-jshint": "^0.10.0",
8+
"grunt-contrib-uglify": "^0.4.0"
89
}
910
}

0 commit comments

Comments
 (0)