Bundle dependencies to ensure expected module identifiers.

The npm-shrinkwrap.json file ensures that the dependencies of this package
are installed in a nested node_modules directory if you're using npm, but
npm-shrinkwrap.json is ignored if you're using a tool like yarn.

This is important because of the way we build path aliases in index.js:
618d67149f/index.js (L6-L10)
This commit is contained in:
Ben Newman
2017-03-13 12:46:38 -04:00
parent 618d67149f
commit 0306f9b8fc

View File

@@ -33,6 +33,31 @@
"util": "^0.10.3",
"vm-browserify": "0.0.4"
},
"bundledDependencies": [
"assert",
"browserify-zlib",
"buffer",
"console-browserify",
"constants-browserify",
"crypto-browserify",
"domain-browser",
"events",
"http-browserify",
"https-browserify",
"os-browserify",
"path-browserify",
"process",
"punycode",
"querystring-es3",
"readable-stream",
"stream-browserify",
"string_decoder",
"timers-browserify",
"tty-browserify",
"url",
"util",
"vm-browserify"
],
"devDependencies": {
"rimraf": "^2.5.2"
},