-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from angular-adaptive/canary
v0.2.0
- Loading branch information
Showing
9 changed files
with
564 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
<a name="v0.1.0"></a> | ||
## v0.1.0 (2013-11-10) | ||
<a name="v0.2.0"></a> | ||
## v0.2.0 (2013-11-12) | ||
|
||
|
||
#### Features | ||
|
||
* **GruntFile:** add concated and uglified version ([92fecaed](https://github.com/angular-adaptive/adaptive-motion/commit/92fecaed4f0365b8987a0a848921447081bdc349)) | ||
* **conventional-changelog:** adds grunt-conventional-changelog ([432cf774](https://github.com/angular-adaptive/adaptive-motion/commit/432cf7742466b7152250869b930b9627e1e53661)) | ||
|
||
|
||
#### Breaking Changes | ||
|
||
* src/adaptive-motion.js is now renamed into src/angular-adaptive-motion.js | ||
([92fecaed](https://github.com/angular-adaptive/adaptive-motion/commit/92fecaed4f0365b8987a0a848921447081bdc349)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,70 @@ | ||
module.exports = function (grunt) { | ||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | ||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | ||
|
||
// Default task. | ||
grunt.registerTask('default', ['karma', 'jshint']); | ||
// Default task. | ||
grunt.registerTask('default', ['karma', 'jshint']); | ||
grunt.registerTask('build', ['karma', 'jshint', 'concat', 'uglify']); | ||
|
||
var karmaConfig = function(configFile, customOptions) { | ||
var options = { configFile: configFile, keepalive: true }; | ||
var travisOptions = process.env.TRAVIS && { browsers: ['Firefox'], reporters: 'dots' }; | ||
return grunt.util._.extend(options, customOptions, travisOptions); | ||
}; | ||
var karmaConfig = function(configFile, customOptions) { | ||
var options = { configFile: configFile, keepalive: true }; | ||
var travisOptions = process.env.TRAVIS && { browsers: ['Firefox'], reporters: 'dots' }; | ||
return grunt.util._.extend(options, customOptions, travisOptions); | ||
}; | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
karma: { | ||
unit: { | ||
options: karmaConfig('test/test.conf.js') | ||
} | ||
}, | ||
jshint:{ | ||
files:['src/**/*.js', 'test/**/*.js'], | ||
options: { | ||
curly:true, | ||
eqeqeq:true, | ||
immed:true, | ||
latedef:true, | ||
newcap:true, | ||
noarg:true, | ||
sub:true, | ||
boss:true, | ||
eqnull:true, | ||
devel:true, | ||
globals:{} | ||
} | ||
}, | ||
changelog: { | ||
options: { | ||
dest: 'CHANGELOG.md' | ||
} | ||
} | ||
}); | ||
} | ||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('bower.json'), | ||
meta: { | ||
banner: '/*!\n' + | ||
' * <%= pkg.name %> v<%= pkg.version %>\n' + | ||
' * The MIT License\n' + | ||
' * Copyright (c) 2013 Jan Antala\n' + | ||
' */' | ||
}, | ||
uglify: { | ||
options: { | ||
preserveComments: 'some' | ||
}, | ||
dist: { | ||
src: '<%= pkg.name %>.js', | ||
dest: '<%= pkg.name %>.min.js' | ||
} | ||
}, | ||
concat: { | ||
options: { | ||
process: true, | ||
banner: '<%= meta.banner %>\n\n' | ||
}, | ||
dist: { | ||
src: 'src/<%= pkg.name %>.js', | ||
dest: '<%= pkg.name %>.js' | ||
} | ||
}, | ||
karma: { | ||
unit: { | ||
options: karmaConfig('test/test.conf.js') | ||
} | ||
}, | ||
jshint:{ | ||
files:['src/**/*.js', 'test/**/*.js'], | ||
options: { | ||
curly:true, | ||
eqeqeq:true, | ||
immed:true, | ||
latedef:true, | ||
newcap:true, | ||
noarg:true, | ||
sub:true, | ||
boss:true, | ||
eqnull:true, | ||
devel:true, | ||
globals:{} | ||
} | ||
}, | ||
changelog: { | ||
options: { | ||
dest: 'CHANGELOG.md' | ||
} | ||
}, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
{ | ||
"name": "angular-adaptive-motion", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "This module allows you to control an angular app using your body.", | ||
"author": "https://github.com/angular-adaptive/adaptive-motion/graphs/contributors", | ||
"license": "MIT", | ||
"keywords": [ | ||
"angular", | ||
"adaptive", | ||
"motion" | ||
], | ||
"homepage": "http://angular-adaptive.github.io", | ||
"main": "./src/adaptive-motion.js", | ||
"main": "./src/angular-adaptive-motion.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/angular-adaptive/adaptive-motion.git" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-karma": "*", | ||
"grunt-contrib-jshint": "~0.2.0", | ||
"grunt-conventional-changelog": "~1.0.0", | ||
"grunt-contrib-uglify": "~0.2.2", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"matchdep": "~0.3.0" | ||
}, | ||
"scripts": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/angular-adaptive/adaptive-motion.git" | ||
} | ||
"scripts": {} | ||
} |
Oops, something went wrong.