Add Clinical Meteor packages to Lesion Tracker
This commit is contained in:
1 parent
383b4ff4c0
commit
b2fa6ead3b
56 files changed
+2355
-9
No files matched your search
@@ -0,0 +1,15 @@
|
||||
## clinical:themes
|
||||
Theme selection component for ClinicalFramework apps.
|
||||
|
||||
------------------------
|
||||
### Installation
|
||||
|
||||
````
|
||||
meteor add clinical:themes
|
||||
````
|
||||
|
||||
|
||||
------------------------
|
||||
### License
|
||||
|
||||
MIT License. Use as you wish, including for commercial purposes.
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,31 @@
|
||||
Package.describe({
|
||||
name: 'clinical:themes',
|
||||
version: '0.0.1',
|
||||
// Brief, one-line summary of the package.
|
||||
summary: 'Theme selection component for ClinicalFramework apps.',
|
||||
// URL to the Git repository containing the source code for this package.
|
||||
git: 'https://github.com/awatson1978/clinical-themes',
|
||||
// By default, Meteor will default to using README.md for documentation.
|
||||
// To avoid submitting documentation, set this field to null.
|
||||
documentation: 'README.md'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.versionsFrom('1.2.1');
|
||||
|
||||
api.use('meteor-platform');
|
||||
api.use('less');
|
||||
|
||||
api.addFiles('lib/ActiveThemes.js');
|
||||
|
||||
api.addFiles('components/themeCard.html');
|
||||
api.addFiles('components/themeCard.js');
|
||||
api.addFiles('components/themeCard.less');
|
||||
|
||||
});
|
||||
|
||||
Package.onTest(function (api) {
|
||||
api.use('tinytest');
|
||||
api.use('clinical:themes');
|
||||
api.addFiles('tests/clinical-themes.js');
|
||||
});
|
||||
@@ -0,0 +1,10 @@
|
||||
// Write your tests here!
|
||||
// Here is an example.
|
||||
describe('clinical:collaborations-ui', function () {
|
||||
it.client('runs only in client', function () {
|
||||
expect(Meteor.isClient).to.be.true;
|
||||
});
|
||||
it.server('runs only in server', function () {
|
||||
expect(Meteor.isServer).to.be.true;
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user