Skip to content

Commit

Permalink
Added package.json and adjusted require for mpBindings to relative pa…
Browse files Browse the repository at this point in the history
…th. Now ready for npm.
  • Loading branch information
tomtaylor committed Nov 29, 2010
1 parent 989ee3b commit 859d036
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msgpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var buffer = require('buffer');
var events = require('events');
var mpBindings = require('mpBindings');
var mpBindings = require('../build/default/mpBindings');
var sys = require('sys');

var pack = mpBindings.pack;
Expand Down
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "msgpack",
"description": "A space-efficient object serialization library for node.js",
"version": "0.1.2",
"homepage": "https://github.com/pgriess/node-msgpack",
"author": "Peter Griess <pg@std.in>",
"contributors": [
"Tom Taylor <tom@tomtaylor.co.uk> (http://tomtaylor.co.uk)"
],
"main": "./lib/msgpack",
"directories": {
"lib": "lib"
},
"engines": {
"node": ">=0.1.97"
},
"scripts": {
"preinstall": "make",
"preuninstall": "make clean"
},
"bin": {
"json2msgpack": "./bin/json2msgpack",
"msgpack2json": "./bin/msgpack2json"
}
}

0 comments on commit 859d036

Please sign in to comment.