From 94a2048accffbc9df5023d6da93f8c65301500c9 Mon Sep 17 00:00:00 2001 From: Janpot Date: Tue, 3 Dec 2013 16:29:02 +0100 Subject: [PATCH] expose apps.json through CommomJS module interface So we can import it cleanly in node.js --- share/js/wappalyzer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/share/js/wappalyzer.js b/share/js/wappalyzer.js index 013b4268d..bca3b64f3 100644 --- a/share/js/wappalyzer.js +++ b/share/js/wappalyzer.js @@ -501,5 +501,6 @@ var wappalyzer = (function() { // CommonJS package // See http://wiki.commonjs.org/wiki/CommonJS if ( typeof exports === 'object' ) { + exports.definitions = require('../apps.json'); exports.wappalyzer = wappalyzer; }