Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

(dist) npm

  • Loading branch information...
commit 0aefe28f9be1d0823229071bfd31ec63417ddab8 1 parent 3d204d6
cloudhead authored
View
6 .gitmodules
@@ -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
5 README.md
@@ -39,6 +39,11 @@ synopsis
}
});
+installation
+------------
+
+ $ npm install cradle
+
API
---
View
5 lib/cradle.js
@@ -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;
1  lib/vendor/vargs
@@ -1 +0,0 @@
-Subproject commit 89ef16fe60c34cb3e0b341ed5f8bdb869838f5c4
View
8 package.json
@@ -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
3  test/cradle-test.js
@@ -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');
1  test/vendor/vows
@@ -1 +0,0 @@
-Subproject commit 03a417135a3f2552b344ec7eb21689e56020c83a
Please sign in to comment.
Something went wrong with that request. Please try again.