Browse Source

Add javascript wrapper so it can be loaded directly

James Allen 12 years ago
parent
commit
8808097f2c
2 changed files with 4 additions and 2 deletions
  1. 2 0
      libraries/redis-wrapper/index.js
  2. 2 2
      libraries/redis-wrapper/package.json

+ 2 - 0
libraries/redis-wrapper/index.js

@@ -0,0 +1,2 @@
+require("coffee-script").register();
+module.exports = require("./index.coffee");

+ 2 - 2
libraries/redis-wrapper/package.json

@@ -1,8 +1,8 @@
 {
 {
   "name": "redis-sharelatex",
   "name": "redis-sharelatex",
-  "version": "0.0.4",
+  "version": "0.0.5",
   "description": "redis wrapper for node which will either use sentinal or normal redis",
   "description": "redis wrapper for node which will either use sentinal or normal redis",
-  "main": "index.coffee",
+  "main": "index.js",
   "author": "henry oswald @ sharelatex",
   "author": "henry oswald @ sharelatex",
   "license": "ISC",
   "license": "ISC",
   "dependencies": {
   "dependencies": {