2015-10-13 14:14:50 +02:00
|
|
|
Package.describe({
|
2016-08-15 15:34:36 +02:00
|
|
|
name: 'ohif:cornerstone',
|
2016-01-13 16:17:32 +01:00
|
|
|
summary: 'Cornerstone Web-based Medical Imaging libraries',
|
|
|
|
|
version: '0.0.1'
|
2015-10-13 14:14:50 +02:00
|
|
|
});
|
|
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
Package.onUse(function(api) {
|
2016-08-15 15:34:36 +02:00
|
|
|
api.versionsFrom('1.4');
|
2015-10-13 14:14:50 +02:00
|
|
|
|
2017-01-24 17:35:56 +01:00
|
|
|
api.use('ecmascript');
|
|
|
|
|
|
2015-10-13 14:14:50 +02:00
|
|
|
api.use('jquery');
|
|
|
|
|
|
2017-01-24 17:35:56 +01:00
|
|
|
api.use('ohif:core');
|
|
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/cornerstone.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
|
|
|
|
api.addFiles('client/cornerstoneMath.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
|
|
|
|
api.addFiles('client/cornerstoneTools.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
|
|
|
|
api.addFiles('client/cornerstoneWADOImageLoader.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
|
|
|
|
api.addFiles('client/dicomParser.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
|
|
|
|
api.addFiles('client/hammer.js', 'client', {
|
|
|
|
|
bare: true
|
|
|
|
|
});
|
2016-06-08 10:14:31 +02:00
|
|
|
api.addFiles('client/jquery.hammer.js', 'client', {
|
2016-01-13 16:17:32 +01:00
|
|
|
bare: true
|
|
|
|
|
});
|
2015-10-23 14:08:51 +02:00
|
|
|
|
2017-02-13 21:49:02 +01:00
|
|
|
api.addAssets('public/js/cornerstoneWADOImageLoaderCodecs.es5.js', 'client');
|
|
|
|
|
api.addAssets('public/js/cornerstoneWADOImageLoaderWebWorker.es5.js', 'client');
|
|
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.export('cornerstone', 'client');
|
|
|
|
|
api.export('cornerstoneMath', 'client');
|
|
|
|
|
api.export('cornerstoneTools', 'client');
|
|
|
|
|
api.export('cornerstoneWADOImageLoader', 'client');
|
2016-09-20 22:47:44 +02:00
|
|
|
api.export('dicomParser', 'client');
|
2017-01-24 17:35:56 +01:00
|
|
|
|
|
|
|
|
api.mainModule('main.js', 'client');
|
2016-09-20 22:47:44 +02:00
|
|
|
});
|