47 lines
1.2 KiB
JavaScript
47 lines
1.2 KiB
JavaScript
Package.describe({
|
|
name: 'ohif:lesiontracker',
|
|
summary: 'OHIF Lesion Tracker Tools',
|
|
version: '0.0.1'
|
|
});
|
|
|
|
Package.onUse(function(api) {
|
|
api.versionsFrom('1.4');
|
|
|
|
api.use('ecmascript');
|
|
api.use('standard-app-packages');
|
|
api.use('jquery');
|
|
api.use('stylus');
|
|
api.use('random');
|
|
|
|
api.use('validatejs');
|
|
|
|
// Template overriding
|
|
api.use('aldeed:template-extension@4.0.0');
|
|
|
|
// Our custom packages
|
|
api.use('design');
|
|
api.use('ohif:core');
|
|
api.use('ohif:study-list');
|
|
api.use('ohif:cornerstone');
|
|
api.use('ohif:measurements');
|
|
|
|
api.addFiles('both/index.js', [ 'client', 'server' ]);
|
|
|
|
api.addFiles('server/index.js', 'server');
|
|
|
|
api.addFiles('client/index.js', 'client');
|
|
|
|
// Export global functions
|
|
api.export('convertNonTarget', 'client');
|
|
|
|
// Export client-side collections
|
|
api.export('ValidationErrors', 'client');
|
|
api.export('LesionLocations', 'client');
|
|
api.export('LocationResponses', 'client');
|
|
api.export('TrialCriteriaTypes', 'client');
|
|
|
|
// Export collections spanning both client and server
|
|
api.export('AdditionalFindings', [ 'client', 'server' ]);
|
|
api.export('Configuration', ['client', 'server']);
|
|
});
|