From 47f309ebf82c459611d3e50dd61b40b7957e9f14 Mon Sep 17 00:00:00 2001 From: Joel Kuzmarski Date: Sun, 16 Apr 2017 19:49:04 -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 b3e52f9..5f7168c 100644 --- a/bit-docs.js +++ b/bit-docs.js @@ -14,7 +14,7 @@ module.exports = function(bitDocs){ var pkg = require("./package.json"); var deps = {}; - deps[pkg.name] = pkg.version; + deps[pkg.name] = 'file:' + __dirname; bitDocs.register("html", { dependencies: deps