2016-08-15 15:34:36 +02:00
|
|
|
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
|
2017-01-16 19:20:04 +01:00
|
|
|
api.use('ohif:design');
|
2016-08-15 15:34:36 +02:00
|
|
|
api.use('ohif:core');
|
|
|
|
|
api.use('ohif:study-list');
|
|
|
|
|
api.use('ohif:cornerstone');
|
|
|
|
|
api.use('ohif:measurements');
|
|
|
|
|
|
2016-10-17 22:17:31 +02:00
|
|
|
api.addFiles('both/index.js', [ 'client', 'server' ]);
|
2016-09-20 22:47:44 +02:00
|
|
|
|
2016-10-17 22:17:31 +02:00
|
|
|
api.addFiles('server/index.js', 'server');
|
2016-08-15 15:34:36 +02:00
|
|
|
|
2016-10-17 22:17:31 +02:00
|
|
|
api.addFiles('client/index.js', 'client');
|
2016-08-15 15:34:36 +02:00
|
|
|
|
|
|
|
|
// 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('Configuration', ['client', 'server']);
|
|
|
|
|
});
|