Skip to content

Commit

Permalink
Merge pull request #5 from lwhiteley/master
Browse files Browse the repository at this point in the history
add bower file support and clean up gruntfile
  • Loading branch information
uschen committed Nov 12, 2014
2 parents a92d150 + f40e27d commit f77bfff
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "lib/bower_components/"
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ classes/
._*
/node_modules
*.jar
lib/bower_components
11 changes: 3 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,9 @@ module.exports = function (grunt) {
},
});

grunt.loadNpmTasks('grunt-express');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-concurrent');
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);

// build
grunt.registerTask('build', ['copy:templateToDist', 'less', 'concat', 'uglify']);
//development
Expand Down
39 changes: 39 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "angular-image-zoom",
"version": "0.1.0",
"homepage": "https://github.com/owlsomely/angular-image-zoom",
"authors": [
"owlsomely"
],
"description": "zoom images using this angular directive",
"main": [
"dist/image-zoom.js",
"dist/image-zoom.css"
],
"keywords": [
"zoom",
"image",
"angular",
"directive"
],
"license": "MIT",
"ignore": [
"**/.*",
"_*",
".*",
"CHANGELOG",
"doc",
"node_modules",
"bower_components",
"test",
"tests",
"demo",
"src",
"lib",
"Gruntfile.js",
"package.json"
],
"dependencies": {
"angular": "1.2.16"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"karma-mocha": "~0.1.7",
"karma-phantomjs-launcher": "~0.1.4",
"karma-sinon": "^1.0.3",
"load-grunt-tasks": "^1.0.0",
"mocha": "~1.21.4",
"sinon": "~1.10.3"
}
Expand Down

0 comments on commit f77bfff

Please sign in to comment.