1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-jCarouselLite

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Gruntfile.js 1.8 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
ganeshmax Отправлено 12.10.2014 06:41 7412335
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/*!<%= "\\n" %>' +
' * <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") + "\\n" %>' +
'<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %><%= "\\n" %>' +
' * Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>' +
' (<%= _.pluck(pkg.licenses, "url").join(", ") %>)<%= "\\n" %>' +
'*/' +
'<%= "\\n\\n" %>'
},
uglify: {
all: {
files: {
'src/jquery.jcarousellite.min.js': ['src/jquery.jcarousellite.js']
}
},
options: {
preserveComments: false,
banner: '<%= meta.banner %>',
compress: {
drop_console: true
}
}
},
compress: {
main: {
options: {
archive: 'jcarousellite-demo.zip'
},
files: [{
expand: true, // Set this to enable CWD below
cwd: 'demo/', // Change directory to demo/
src: ['**/*'], // Take all files and folders and sub-folders from the CWD
dest: '/' // Create ZIP file in /
}]
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.registerTask('build', ['uglify']);
grunt.registerTask('demo', ['compress']);
};

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-jCarouselLite.git
git@api.gitlife.ru:oschina-mirror/mirrors-jCarouselLite.git
oschina-mirror
mirrors-jCarouselLite
mirrors-jCarouselLite
master