Removed version from dist file names

This commit is contained in:
slopjong 2014-05-17 06:55:21 +02:00
parent 6e2d95f309
commit b5675c4d5b
5 changed files with 6 additions and 6 deletions

View File

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

View File

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