expose apps.json through CommomJS module interface

So we can import it cleanly in node.js
main
Janpot 11 years ago
parent fcbdaba46a
commit 94a2048acc

@ -501,5 +501,6 @@ var wappalyzer = (function() {
// CommonJS package // CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS // See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) { if ( typeof exports === 'object' ) {
exports.definitions = require('../apps.json');
exports.wappalyzer = wappalyzer; exports.wappalyzer = wappalyzer;
} }