Skip to content

Commit

Permalink
chore: some small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 6, 2016
1 parent 128b5c1 commit 44af857
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
12 changes: 7 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
module.exports = function(grunt) {

var banner = '/**\n @name: <%= pkg.name %> \n @version: <%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) \n @author: <%= pkg.author %> \n @url: <%= pkg.homepage %> \n @license: <%= pkg.license %>\n*/\n';

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
js: {
files : {
'dist/angular-vimeo-api-factory.min.js' : ['src/angular-vimeo-api-factory.js']
'dist/angular-vimeo-api-factory.min.js' : ['src/*.js']
}
},
options: {
banner: '\n/*! <%= pkg.name %> v<%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) by <%= pkg.author %> */\n',
banner: banner,
}
},
concat: {
options: {
separator: ';',
banner: '\n/*! <%= pkg.name %> v<%= pkg.version %> (<%= grunt.template.today("dd-mm-yyyy") %>) by <%= pkg.author %> */\n',
banner: banner,
},
dist: {
files : {
'dist/angular-vimeo-api-factory.js' : ['src/angular-vimeo-api-factory.js']
'dist/angular-vimeo-api-factory.js' : ['src/*.js']
}
},
},
watch: {
minifiyJs: {
files: [
'src/angular-vimeo-api-factory.js'
'src/*.js'
],
tasks: ['uglify', 'concat'],
options: {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-vimeo-api-factory",
"description": "angularjs factory for vimeo json rest api requests",
"version": "0.5.1",
"version": "0.5.2",
"main": "Gruntfile.js",
"authors": [
"Jonathan Hornung"
Expand Down
15 changes: 7 additions & 8 deletions dist/angular-vimeo-api-factory.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

/*! angular-vimeo-api-factory v0.5.1 (03-01-2016) by Jonathan Hornung */
"use strict";

/**
@author Jonathan Hornung (https://github.com/JohnnyTheTank)
@url https://github.com/JohnnyTheTank/angular-vimeo-api-factory
@licence MIT
*/
@name: angular-vimeo-api-factory
@version: 0.5.2 (06-01-2016)
@author: Jonathan Hornung
@url: https://github.com/JohnnyTheTank/angular-vimeo-api-factory#readme
@license: MIT
*/
"use strict";

angular.module("jtt_vimeo", [])
.factory('vimeoFactory', ['$http', 'vimeoSearchDataService', function ($http, vimeoSearchDataService) {
Expand Down
9 changes: 7 additions & 2 deletions dist/angular-vimeo-api-factory.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-vimeo-api-factory",
"version": "0.5.1",
"version": "0.5.2",
"description": "angularjs factory for vimeo json rest api requests",
"main": "dist/angular-vimeo-api-factory.js",
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions src/angular-vimeo-api-factory.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"use strict";

/**
@author Jonathan Hornung (https://github.com/JohnnyTheTank)
@url https://github.com/JohnnyTheTank/angular-vimeo-api-factory
@licence MIT
*/

angular.module("jtt_vimeo", [])
.factory('vimeoFactory', ['$http', 'vimeoSearchDataService', function ($http, vimeoSearchDataService) {

Expand Down

0 comments on commit 44af857

Please sign in to comment.