Răsfoiți Sursa

Add javascript wrapper so it can be loaded directly

James Allen 12 ani în urmă
părinte
comite
8808097f2c

+ 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",
-  "version": "0.0.4",
+  "version": "0.0.5",
   "description": "redis wrapper for node which will either use sentinal or normal redis",
-  "main": "index.coffee",
+  "main": "index.js",
   "author": "henry oswald @ sharelatex",
   "license": "ISC",
   "dependencies": {