Browse Source

Remove `grunt banner`.

pull/319/head
Zlatan Vasovic 11 years ago committed by XhmikosR
parent
commit
b16e7c1d5f
  1. 18
      Gruntfile.js
  2. 1
      package.json

18
Gruntfile.js

@ -96,21 +96,6 @@ module.exports = function(grunt) {
}
},
usebanner: {
dist: {
options: {
position: 'top',
banner: '<%= banner %>'
},
files: {
src: [
'dist/<%= pkg.name %>.min.js',
'dist/<%= pkg.name %>.min.css'
]
}
}
},
watch: {
scripts: {
files: [
@ -145,10 +130,9 @@ module.exports = function(grunt) {
require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
// Default task(s).
grunt.registerTask('banner', ['usebanner']);
grunt.registerTask('dist-css', ['sass', 'cssmin']);
grunt.registerTask('dist-js', ['concat', 'uglify']);
grunt.registerTask('dist', ['dist-css', 'dist-js', 'banner', 'copy']);
grunt.registerTask('dist', ['dist-css', 'dist-js', 'copy']);
grunt.registerTask('validate-html', ['jekyll', 'validation']);
grunt.registerTask('default', ['dist']);
grunt.registerTask('build', ['dist']);

1
package.json

@ -22,7 +22,6 @@
"license": "MIT",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-banner": "~0.2.0",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-cssmin": "~0.8.0",

Loading…
Cancel
Save