PATH:
home
/
letacommog
/
crmleta
/
libraries
/
jquery
/
lazyYT
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { options: { banner: '/*!\n' + '* <%= pkg.name %>\n' + '* v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' + '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>; Licensed <%= pkg.license %> %>\n' + '*/' }, dist: { files: { '<%= pkg.name %>.min.js': '<%= pkg.name %>.js' } } }, jshint: { files: ['Gruntfile.js', '<%= pkg.name %>.js'], options: { globals: { jQuery: true, console: true, document: true } } }, cssmin: { minify: { expand: true, cwd: './', src: ['*.css', '!*.min.css'], dest: './', ext: '.min.css' } } }); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.registerTask('default', ['jshint', 'uglify', 'cssmin']); };
[+]
..
[-] lazyYT.min.js
[edit]
[-] LICENSE
[edit]
[-] package.json
[edit]
[-] lazyYT.jquery.json
[edit]
[+]
demo
[-] README.md
[edit]
[-] lazyYT.min.css
[edit]
[-] .gitignore
[edit]
[-] lazyYT.js
[edit]
[-] lazyYT.css
[edit]
[-] Gruntfile.js
[edit]