THRIFT-2819
Client Node
Patch: Chi Vinh Le
Adds websocket client to Node with tests
diff --git a/lib/nodejs/package.json b/lib/nodejs/package.json
index d7e39e4..51216d2 100755
--- a/lib/nodejs/package.json
+++ b/lib/nodejs/package.json
@@ -2,38 +2,44 @@
"name": "thrift",
"description": "node.js bindings for the Apache Thrift RPC system",
"homepage": "http://thrift.apache.org/",
- "repository":
- { "type" : "git",
- "url" : "https://git-wip-us.apache.org/repos/asf/thrift.git"
- },
+ "repository": {
+ "type": "git",
+ "url": "https://git-wip-us.apache.org/repos/asf/thrift.git"
+ },
"version": "1.0.0-dev",
- "author":
- { "name": "Apache Thrift Developers",
- "email": "dev@thrift.apache.org",
- "url": "http://thrift.apache.org"
- },
- "licenses":
- [ { "type": "Apache-2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0"
- }
- ],
- "bugs":
- { "mail": "dev@thrift.apache.org",
- "url": "https://issues.apache.org/jira/browse/THRIFT"
- },
- "directories" : { "lib" : "./lib/thrift" },
+ "author": {
+ "name": "Apache Thrift Developers",
+ "email": "dev@thrift.apache.org",
+ "url": "http://thrift.apache.org"
+ },
+ "licenses": [
+ {
+ "type": "Apache-2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0"
+ }
+ ],
+ "bugs": {
+ "mail": "dev@thrift.apache.org",
+ "url": "https://issues.apache.org/jira/browse/THRIFT"
+ },
+ "directories": {
+ "lib": "./lib/thrift"
+ },
"main": "./lib/thrift",
- "engines": { "node": ">= 0.2.4" },
+ "engines": {
+ "node": ">= 0.2.4"
+ },
"dependencies": {
"node-int64": "~0.3.0",
- "q": "1.0.x",
- "nodeunit": "~0.8.0"
+ "q": "1.0.x",
+ "nodeunit": "~0.8.0",
+ "ws": "~0.4.32"
},
"devDependencies": {
"connect": "2.7.x",
"commander": "2.1.x"
},
"scripts": {
- "test" : "test/testAll.sh"
+ "test": "test/testAll.sh"
}
}