Permalink
Browse files

Add Cakefile index.js and package.json.

  • Loading branch information...
1 parent 21b5e41 commit 0acbf2781f8e513f4fca2a5bdfb61464bb0c696c @poshboytl poshboytl committed Jul 18, 2012
Showing with 28 additions and 0 deletions.
  1. +11 −0 Cakefile
  2. +1 −0 index.js
  3. +16 −0 package.json
View
@@ -0,0 +1,11 @@
+{print} = require 'util'
+{spawn} = require 'child_process'
+
+task 'build', 'Build lib/ from src/', ->
+ coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
+ coffee.stderr.on 'data', (data) ->
+ process.stderr.write data.toString()
+ coffee.stdout.on 'data', (data) ->
+ print data.toString()
+ coffee.on 'exit', (code) ->
+ callback?() if code is 0
View
@@ -0,0 +1 @@
+module.exports = require('./lib/timeago');
View
@@ -0,0 +1,16 @@
+{
+ "name": "smart-time-ago",
+ "description": "a simeple lib to update the relative time on your page",
+ "version": "0.0.1",
+ "author": "poshboytl",
+ "licenses":
+ [{
+ "type": "MIT",
+ "url": "https://github.com/pragmaticly/smart-time-ago/blob/master/LICENSE"
+ }],
+ "repository": {
+ "type" : "git",
+ "url": "http://github.com/pragmaticly/smart-time-ago.git"
+ },
+ "main" : "./index.js"
+}

0 comments on commit 0acbf27

Please sign in to comment.