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: { main: {
src: [ src: [
'js/plugins/*.js', 'js/plugins/*.js',
'js/<%= pkg.slug %>.js' 'js/<%= pkg.name %>.js'
], ],
dest: 'dist/js/<%= pkg.slug %>.js', dest: 'dist/js/<%= pkg.name %>.js',
} }
}, },
uglify: { uglify: {
main: { main: {
src: 'dist/js/<%= pkg.slug %>.js', src: 'dist/js/<%= pkg.name %>.js',
dest: 'dist/js/<%= pkg.slug %>.min.js' dest: 'dist/js/<%= pkg.name %>.min.js'
} }
}, },
copy: { copy: {
@ -67,7 +67,7 @@ module.exports = function(grunt) {
paths: ["css"] paths: ["css"]
}, },
files: { files: {
"dist/css/<%= pkg.slug %>.css": "less/<%= pkg.slug %>.less" "dist/css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
} }
}, },
minified: { minified: {
@ -76,12 +76,12 @@ module.exports = function(grunt) {
cleancss: true cleancss: true
}, },
files: { files: {
"dist/css/<%= pkg.slug %>.min.css": "less/<%= pkg.slug %>.less" "dist/css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
} }
} }
}, },
banner: '/*!\n' + 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' + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
' */\n', ' */\n',
@ -92,7 +92,7 @@ module.exports = function(grunt) {
banner: '<%= banner %>' banner: '<%= banner %>'
}, },
files: { 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": [ "authors": [
"Start Bootstrap" "Start Bootstrap"
], ],
"description": "A free bootstrap theme for Agencies or any other use!", "description": "A free bootstrap theme for agencies by Start Bootstrap.",
"keywords": [ "keywords": [
"bootstrap", "bootstrap",
"template", "template",

View File

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