Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

Commit 2d983ed

Browse files
committed
Remove obsolete Grunt config.
Add source map for the minified JS file.
1 parent 4dcf33f commit 2d983ed

File tree

6 files changed

+33
-135
lines changed

6 files changed

+33
-135
lines changed

.jshintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
js/*.min.js

.jshintrc

Lines changed: 0 additions & 81 deletions
This file was deleted.

Gruntfile.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

js/jquery.image-gallery.min.js

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

js/jquery.image-gallery.min.js.map

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

package.json

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,40 @@
1515
"name": "Sebastian Tschan",
1616
"url": "https://blueimp.net"
1717
},
18-
"maintainers": [
19-
{
20-
"name": "Sebastian Tschan",
21-
"url": "https://blueimp.net"
22-
}
23-
],
2418
"repository": {
2519
"type": "git",
2620
"url": "git://github.com/blueimp/jQuery-Image-Gallery.git"
2721
},
28-
"bugs": "https://github.com/blueimp/jQuery-Image-Gallery/issues",
2922
"license": "MIT",
3023
"devDependencies": {
31-
"grunt": "~0.4.5",
32-
"grunt-contrib-uglify": "~0.5.0",
33-
"grunt-contrib-jshint": "~0.10.0",
34-
"grunt-bump-build-git": "~1.1.1"
24+
"jshint": "2.8.0",
25+
"less": "2.5.3",
26+
"less-plugin-clean-css": "1.5.1",
27+
"uglify-js": "2.6.1"
28+
},
29+
"scripts": {
30+
"test": "jshint js",
31+
"build": "cd js && uglifyjs jquery.image-gallery.js -c -m -o jquery.image-gallery.min.js --source-map jquery.image-gallery.min.js.map",
32+
"preversion": "npm test",
33+
"version": "npm run build && git add -A js",
34+
"postversion": "git push --tags origin master master:gh-pages && npm publish"
35+
},
36+
"jshintConfig": {
37+
"bitwise": true,
38+
"curly": true,
39+
"eqeqeq": true,
40+
"forin": true,
41+
"freeze": true,
42+
"immed": true,
43+
"latedef": true,
44+
"newcap": true,
45+
"noarg": true,
46+
"noempty": true,
47+
"nonbsp": true,
48+
"nonew": true,
49+
"quotmark": true,
50+
"undef": true,
51+
"unused": true,
52+
"strict": true
3553
}
3654
}

0 commit comments

Comments
 (0)