Merge pull request #152 from slopjong/hotfix/version-removed-from-dist-files

Removed version from dist file names. Fixes #150.
This commit is contained in:
Hyunje Alex Jun 2014-05-17 10:55:42 +01:00
commit 4b3b057838
5 changed files with 6 additions and 6 deletions

View File

@ -21,8 +21,8 @@ module.exports = function (grunt) {
},
min: {
files: {
'min/perfect-scrollbar-<%= version %>.min.js': ['src/perfect-scrollbar.js'],
'min/perfect-scrollbar-<%= version %>.with-mousewheel.min.js': [
'min/perfect-scrollbar.min.js': ['src/perfect-scrollbar.js'],
'min/perfect-scrollbar.with-mousewheel.min.js': [
'src/perfect-scrollbar.js',
'src/jquery.mousewheel.js'
]
@ -61,7 +61,7 @@ module.exports = function (grunt) {
cwd: 'src/',
src: ['perfect-scrollbar.css'],
dest: 'min/',
ext: '-<%= version %>.min.css'
ext: '.min.css'
}
}
});

View File

@ -7,9 +7,9 @@
],
"description": "Tiny but perfect jQuery scrollbar plugin",
"main": [
"min/perfect-scrollbar-0.4.10.min.css",
"min/perfect-scrollbar-0.4.10.min.js",
"min/perfect-scrollbar-0.4.10.with-mousewheel.min.js"
"min/perfect-scrollbar.min.css",
"min/perfect-scrollbar.min.js",
"min/perfect-scrollbar.with-mousewheel.min.js"
],
"license": "MIT",
"ignore": [