Skip to content

Commit

Permalink
frunt bower
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Oct 14, 2013
1 parent 23c07ac commit 96a31b6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bowerrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"directory" : "lib"
"directory" : "./.bower_cache"
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
/lib/
/lib/
/.bower_cache/
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
15 changes: 13 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,26 @@ module.exports = function(grunt) {
// Testing
jasmine: {
src: [
'lib/jquery/jquery.min.js',
'src/js/data.js',
'src/js/intlTelInput.js'
],
options: {
vendor: [
'lib/jquery/jquery.min.js',
'lib/jasmine-jquery/lib/jasmine-jquery.js'
],
specs: [
'src/js/tests.js'
]
}
}
},

// Asset libs
bower: {
install: {
// defaults are fine
}
},

});

Expand All @@ -105,6 +115,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jasmine');
grunt.loadNpmTasks('grunt-bower-task');

// tasks
// build everything ready for a commit
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"grunt-contrib-jshint": "~0.5.4",
"grunt-contrib-watch": "~0.4.4",
"grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-jasmine": "~0.5.2"
"grunt-contrib-jasmine": "~0.5.2",
"grunt-bower-task": "~0.3.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 96a31b6

Please sign in to comment.