From 006c934443bd29f980dd905e547f35d0def35bab Mon Sep 17 00:00:00 2001 From: Joel Kuzmarski Date: Sun, 16 Apr 2017 19:48:51 -0500 Subject: [PATCH] Use file:__dirname for npm --- bit-docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bit-docs.js b/bit-docs.js index 84d1bd9..21f4498 100644 --- a/bit-docs.js +++ b/bit-docs.js @@ -14,7 +14,7 @@ module.exports = function(bitDocs) { var pkg = require("./package.json"); var dependencies = {}; - dependencies[pkg.name] = pkg.version; + dependencies[pkg.name] = 'file:' + __dirname; bitDocs.register("html", { dependencies: dependencies