Permalink
Browse files

(dist) npm

  • Loading branch information...
1 parent 3d204d6 commit 0aefe28f9be1d0823229071bfd31ec63417ddab8 cloudhead committed May 21, 2010
Showing with 13 additions and 16 deletions.
  1. +0 −6 .gitmodules
  2. +5 −0 README.md
  3. +2 −3 lib/cradle.js
  4. +0 −1 lib/vendor/vargs
  5. +5 −3 package.json
  6. +1 −2 test/cradle-test.js
  7. +0 −1 test/vendor/vows
View
@@ -1,6 +0,0 @@
-[submodule "test/vendor/vows"]
- path = test/vendor/vows
- url = git://github.com/cloudhead/vows.git
-[submodule "lib/vendor/vargs"]
- path = lib/vendor/vargs
- url = git://github.com/cloudhead/vargs.git
View
@@ -39,6 +39,11 @@ synopsis
}
});
+installation
+------------
+
+ $ npm install cradle
+
API
---
View
@@ -1,7 +1,6 @@
var path = require('path');
-require.paths.unshift(path.join(__dirname, 'vendor'),
- path.join(__dirname, 'cradle'));
+require.paths.unshift(path.join(__dirname, 'cradle'));
var sys = require("sys"),
http = require("http"),
@@ -10,7 +9,7 @@ var sys = require("sys"),
url = require('url');
var querystring = require('querystring');
-var Args = require('vargs/lib/vargs').Constructor;
+var Args = require('vargs').Constructor;
var cradle = exports;
Submodule vargs deleted from 89ef16
View
@@ -5,7 +5,9 @@
"keywords" : ["couchdb", "database", "couch"],
"author" : "Alexis Sellier <self@cloudhead.net>",
"contributors" : [],
- "dependencies" : ["vargs"],
- "lib" : "lib",
- "version" : "0.1.0"
+ "dependencies" : { "vargs": "*", "vows": ">=0.2.0" },
+ "version" : "0.1.0",
+ "main" : "./lib/cradle",
+ "directories" : { "lib": "./lib", "test": "./test" },
+ "engines" : { "node": ">=0.1.93" }
}
View
@@ -5,8 +5,7 @@ var path = require('path'),
http = require('http'),
fs = require('fs');
-require.paths.unshift(path.join(__dirname, '..', 'lib'),
- path.join(__dirname, 'vendor', 'vows', 'lib'));
+require.paths.unshift(path.join(__dirname, '..', 'lib'));
var vows = require('vows'),
cradle = require('cradle');
Submodule vows deleted from 03a417

0 comments on commit 0aefe28

Please sign in to comment.