Skip to content

Commit

Permalink
Various tooling updates. Added .gitignore for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav21r committed Aug 31, 2015
1 parent 8093bf7 commit f82fa72
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Dependency directory
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules
bower_components

# Ignore .env configuration files
.env

# Ignore .DS_Store files on OS X
.DS_Store
19 changes: 19 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = function(grunt) {

grunt.initConfig({
uglify: {
build: {
options: {
screwIE8: true
},
files: {
'dist/hooker.min.js': ['src/hooker.js']
}
}
}

});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('default', ['uglify:build']);
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

##Hook Oriented Programming in JavaScript. Node.JS and the Browser

<img align="right" height="260" src="https://cdn.rawgit.com/rcorp/hooker/master/hooker-logo.svg" />
<img align="right" height="260" src="https://cdn.rawgit.com/rcorp/hooker/master/assets/hooker-logo.svg" />
Hook based programming is very common. From web frameworks like [WordPress](http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters) & [Drupal](https://www.drupal.org/node/292) to Operating Systems like Windows! You can read more about it [here](http://en.wikipedia.org/wiki/Hooking) and [here](http://stackoverflow.com/questions/467557/what-is-meant-by-the-term-hook-in-programming). Hooks can be implemented under the [Publish Subcribe Architecture](http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) or more generally under [Event Driven Architecture](http://en.wikipedia.org/wiki/Event-driven_architecture). Hooks allow for loosely coupled code and ***eXtreme*** productivity and highly parallel teams.

This module brings hooks to the world of Client Side & Server Side JavaScript.
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.1",
"homepage": "https://github.com/rcorp/hooker",
"authors": [
"Gaurav Ramanan <gaurav@rcorp.co.in>",
"Ramanan Corporation <contactus@rcorp.co.in>"
"Ramanan Corporation (RCorp) <contactus@rcorp.co.in>",
"Gaurav Ramanan <gaurav@rcorp.co.in>"
],
"description": "Hook Oriented Programming in JavaScript. Node.JS and the Browser",
"main": "dist/hooker.min.js",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"hooks",
"javascript",
"hook oriented programming",
"event driven architecture",
"pubsub",
"events",
"hooks in js"
Expand Down

0 comments on commit f82fa72

Please sign in to comment.