bower package and other

This commit is contained in:
David Miller 2014-08-15 03:12:52 -04:00
parent ca78fb942b
commit fb633d838a
2 changed files with 71 additions and 12 deletions

View File

@ -7,12 +7,7 @@ module.exports = function(grunt) {
jquery: { jquery: {
files: { files: {
'dist/js/jquery.min.js': ['bower_components/jquery/dist/jquery.min.js'], 'dist/js/jquery.min.js': ['bower_components/jquery/dist/jquery.min.js'],
'dist/js/jquery.js': ['bower_components/jquery/dist/jquery.js'], 'dist/js/jquery.js': ['bower_components/jquery/dist/jquery.js']
'dist/js/<%= pkg.name %>.js': ['js/<%= pkg.name %>.js'],
'dist/js/cbpAnimatedHeader.js': ['js/cbpAnimatedHeader.js'],
'dist/js/classie.js': ['js/classie.js'],
'dist/js/contact_me.js': ['js/contact_me.js'],
'dist/js/jqBootstrapValidation.js': ['js/jqBootstrapValidation.js']
} }
}, },
bootstrap: { bootstrap: {
@ -30,7 +25,7 @@ module.exports = function(grunt) {
}, },
copy: { copy: {
main: { main: {
src: ['*.html', 'mail/**'], src: ['*.html', 'mail/**', 'js/*.js'],
dest: 'dist/', dest: 'dist/',
}, },
}, },
@ -79,11 +74,11 @@ module.exports = function(grunt) {
} }
}, },
html: { html: {
files: ['*.html', 'mail/**'], files: ['*.html', 'mail/**'],
tasks: ['copy'], tasks: ['copy'],
options: { options: {
spawn: false, spawn: false,
} }
}, },
} }
}); });

64
bower.json Normal file
View File

@ -0,0 +1,64 @@
{
"name": "startbootstrap-agency",
"description": "A one page HTML theme for agencies created by Start Bootstrap.",
"version": "1.0.0",
"keywords": [
"css",
"js",
"less",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
],
"homepage": "http://startbootstrap.com/",
"main": [
"index.html",
"less/agency.less",
"dist/css/agency.css",
"dist/js/agency.js",
"dist/js/cbpAnimatedHeader.js",
"dist/js/classie.js",
"dist/js/contact_me.js",
"dist/js/jqBootstrapValidation.js",
"dist/img/header-bg.jpg",
"dist/img/map-image.jpg",
"dist/img/about/1.jpg",
"dist/img/about/2.jpg",
"dist/img/about/3.jpg",
"dist/img/about/4.jpg",
"dist/img/logos/creative-market.jpg",
"dist/img/logos/designmodo.jpg",
"dist/img/logos/envato.jpg",
"dist/img/logos/themeforest.jpg",
"dist/img/portfolio/dreams-preview.png",
"dist/img/portfolio/dreams.png",
"dist/img/portfolio/escape-preview.png",
"dist/img/portfolio/escape.png",
"dist/img/portfolio/golden-preview.png",
"dist/img/portfolio/golden.png",
"dist/img/portfolio/roundicons-free.png",
"dist/img/portfolio/roundicons.png",
"dist/img/portfolio/startup-framework-preview.png",
"dist/img/portfolio/startup-framework.png",
"dist/img/portfolio/treehouse-preview.png",
"dist/img/portfolio/treehouse.png",
"dist/img/team/1.jpg",
"dist/img/team/2.jpg",
"dist/img/team/3.jpg",
"dist/mail/contact_me.php",
],
"ignore": [
"/.*",
"_config.yml",
"bower_components",
"img/**",
"js/**",
"mail/**"
],
"dependencies": {
"jquery": ">= 1.9.0",
"bootstrap": ">= 3.2.0",
}
}