Browse Source

some package and gruntfile updates

master
David Miller 11 years ago
parent
commit
6cfa07a25c
  1. 16
      Gruntfile.js
  2. 2
      bower.json
  3. 4
      package.json

16
Gruntfile.js

@ -7,15 +7,15 @@ module.exports = function(grunt) { @@ -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) { @@ -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) { @@ -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) { @@ -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']
}
}
},

2
bower.json

@ -5,7 +5,7 @@ @@ -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",

4
package.json

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

Loading…
Cancel
Save