mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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
25 lines
527 B
JavaScript
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');
|
|
});
|