2016-09-14 16:04:08 +03:00
|
|
|
Package.describe({
|
|
|
|
name: 'cultofcoders:grapher',
|
2016-09-20 17:08:07 +03:00
|
|
|
version: '1.0.10',
|
2016-09-14 16:04:08 +03:00
|
|
|
// Brief, one-line summary of the package.
|
2016-09-15 11:14:46 +03:00
|
|
|
summary: 'Grapher is a way of linking/joining collections. And fetching data in a GraphQL style.',
|
2016-09-14 16:04:08 +03:00
|
|
|
// URL to the Git repository containing the source code for this package.
|
2016-09-15 11:14:46 +03:00
|
|
|
git: 'https://github.com/cult-of-coders/grapher',
|
2016-09-14 16:04:08 +03:00
|
|
|
// By default, Meteor will default to using README.md for documentation.
|
|
|
|
// To avoid submitting documentation, set this field to null.
|
|
|
|
documentation: 'README.md'
|
|
|
|
});
|
|
|
|
|
2016-09-22 13:55:16 +03:00
|
|
|
Npm.depends({
|
|
|
|
'sift': '3.2.6'
|
|
|
|
});
|
|
|
|
|
2016-09-14 16:04:08 +03:00
|
|
|
Package.onUse(function (api) {
|
2016-09-15 09:14:15 +03:00
|
|
|
api.versionsFrom('1.3');
|
2016-09-14 16:04:08 +03:00
|
|
|
|
|
|
|
var packages = [
|
|
|
|
'ecmascript',
|
|
|
|
'underscore',
|
2016-09-15 11:14:46 +03:00
|
|
|
'aldeed:simple-schema@1.5.3',
|
2016-09-14 16:04:08 +03:00
|
|
|
'aldeed:collection2@2.10.0',
|
2016-09-15 11:14:46 +03:00
|
|
|
'matb33:collection-hooks@0.8.4',
|
|
|
|
'reywood:publish-composite@1.4.2',
|
2016-09-16 19:22:12 +03:00
|
|
|
'dburles:mongo-collection-instances@0.3.5',
|
2016-09-22 13:55:16 +03:00
|
|
|
'tmeasday:check-npm-versions@0.3.1',
|
2016-09-21 18:33:50 +03:00
|
|
|
'meteorhacks:aggregate@1.3.0',
|
2016-09-14 16:04:08 +03:00
|
|
|
'mongo'
|
|
|
|
];
|
|
|
|
|
|
|
|
api.use(packages);
|
|
|
|
api.imply(packages);
|
|
|
|
|
|
|
|
api.mainModule('main.client.js', 'client');
|
|
|
|
api.mainModule('main.server.js', 'server');
|
2016-09-19 12:22:20 +03:00
|
|
|
api.mainModule('main.both.js');
|
2016-09-14 16:04:08 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
Package.onTest(function (api) {
|
|
|
|
api.use('cultofcoders:grapher');
|
|
|
|
|
|
|
|
api.use('ecmascript');
|
|
|
|
api.use('tracker');
|
2016-09-23 13:31:33 +03:00
|
|
|
|
2016-09-14 16:04:08 +03:00
|
|
|
api.use('practicalmeteor:mocha');
|
|
|
|
api.use('practicalmeteor:chai');
|
|
|
|
|
|
|
|
api.mainModule('lib/links/tests/main.js', 'server');
|
|
|
|
|
2016-09-23 13:31:33 +03:00
|
|
|
api.addFiles('lib/query/testing/bootstrap/index.js');
|
|
|
|
//api.addFiles('lib/query/testing/bootstrap/fixtures.js', 'server');
|
|
|
|
api.mainModule('lib/query/testing/server.test.js', 'server');
|
|
|
|
api.mainModule('lib/query/testing/client.test.js', 'client');
|
2016-09-14 16:04:08 +03:00
|
|
|
});
|