Created
March 11, 2016 23:51
-
-
Save sleungcy/2772fd8b6f704ad2d322 to your computer and use it in GitHub Desktop.
multiple module.exports chained together?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
}; | |
exports.shr64_lo = shr64_lo; | |
},{"inherits":"/mnt/talemetry_apply/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/mnt/talemetry_apply/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/package.json":[function(require,module,exports){ | |
module.exports=module.exports=module.exports={ | |
"name": "elliptic", | |
"version": "6.2.3", | |
"description": "EC cryptography", | |
"main": "lib/elliptic.js", | |
"files": [ | |
"lib" | |
], | |
"scripts": { | |
"coverage": "npm run unit --coverage", | |
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls", | |
"jscs": "jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/*.js", | |
"jshint": "jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/*.js", | |
"lint": "npm run jscs && npm run jshint", | |
"test": "npm run lint && npm run unit", | |
"unit": "istanbul test _mocha --reporter=spec test/*-test.js" | |
}, | |
"repository": { | |
.... |
found out whats wrong, I was using browserify-inc and it seems to have hiccups when dealing with .json files
https://gist.github.com/sleungcy/c8b2b27c22df334c41eb
jsdf/browserify-incremental#29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why is it doing
module.exports=module.exports=module.exports={