some package and gruntfile updates

This commit is contained in:
David Miller 2014-09-27 17:55:53 -04:00
parent c82c674a27
commit 6cfa07a25c
3 changed files with 11 additions and 11 deletions

View File

@ -7,15 +7,15 @@ module.exports = function(grunt) {
main: {
src: [
'js/plugins/*.js',
'js/<%= pkg.slug %>.js'
'js/<%= pkg.name %>.js'
],
dest: 'dist/js/<%= pkg.slug %>.js',
dest: 'dist/js/<%= pkg.name %>.js',
}
},
uglify: {
main: {
src: 'dist/js/<%= pkg.slug %>.js',
dest: 'dist/js/<%= pkg.slug %>.min.js'
src: 'dist/js/<%= pkg.name %>.js',
dest: 'dist/js/<%= pkg.name %>.min.js'
}
},
copy: {
@ -67,7 +67,7 @@ module.exports = function(grunt) {
paths: ["css"]
},
files: {
"dist/css/<%= pkg.slug %>.css": "less/<%= pkg.slug %>.less"
"dist/css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
}
},
minified: {
@ -76,12 +76,12 @@ module.exports = function(grunt) {
cleancss: true
},
files: {
"dist/css/<%= pkg.slug %>.min.css": "less/<%= pkg.slug %>.less"
"dist/css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
}
}
},
banner: '/*!\n' +
' * <%= pkg.name %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
' */\n',
@ -92,7 +92,7 @@ module.exports = function(grunt) {
banner: '<%= banner %>'
},
files: {
src: ['dist/css/<%= pkg.slug %>.css', 'dist/css/<%= pkg.slug %>.min.css', 'dist/js/<%= pkg.slug %>.js', 'dist/js/<%= pkg.slug %>.min.js']
src: ['dist/css/<%= pkg.name %>.css', 'dist/css/<%= pkg.name %>.min.css', 'dist/js/<%= pkg.name %>.js', 'dist/js/<%= pkg.name %>.min.js']
}
}
},

View File

@ -5,7 +5,7 @@
"authors": [
"Start Bootstrap"
],
"description": "A free bootstrap theme for Agencies or any other use!",
"description": "A free bootstrap theme for agencies by Start Bootstrap.",
"keywords": [
"bootstrap",
"template",

View File

@ -1,6 +1,6 @@
{
"name": "Agency",
"slug": "agency",
"name": "agency",
"title": "Agency",
"version": "0.0.1",
"homepage": "http://startbootstrap.com",
"author": "Start Bootstrap",