Files
meteor/packages/non-core/bundle-visualizer/package.js
Ben Newman 4f43008aa0 Explicitly depend on d3-collection in bundle-visualizer.
The visualizer seems to have stopped working recently if you reinstall its
npm dependencies without using the existing npm-shrinkwrap.json file,
likely due to changes in indirect dependencies.

The good news is that the package now has far fewer npm dependencies.
However, since the sunburst.js module imports d3-collection explicitly, we
should definitely be depending directly on that package.

cc @abernix
2017-09-18 17:19:53 -04:00

25 lines
527 B
JavaScript

Package.describe({
version: '1.0.4',
summary: 'Meteor bundle analysis and visualization.',
documentation: 'README.md',
});
Npm.depends({
"d3-selection": "1.0.5",
"d3-shape": "1.0.6",
"d3-hierarchy": "1.1.4",
"d3-transition": "1.0.4",
"d3-collection": "1.0.4",
"pretty-bytes": "4.0.2",
});
Package.onUse(function(api) {
api.use('isobuild:dynamic-import@1.5.0');
api.use([
'ecmascript',
'dynamic-import',
]);
api.mainModule('server.js', 'server');
api.mainModule('client.js', 'client');
});