2016-09-14 16:04:08 +03:00
|
|
|
Package.describe({
|
|
|
|
name: 'cultofcoders:grapher',
|
2017-06-30 18:13:42 +03:00
|
|
|
version: '1.2.8_1',
|
2016-09-14 16:04:08 +03:00
|
|
|
// Brief, one-line summary of the package.
|
2016-09-23 13:41:13 +03:00
|
|
|
summary: 'Grapher makes linking collections easily. And fetching data as a graph.',
|
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({
|
2016-11-18 18:33:21 +02:00
|
|
|
'sift': '3.2.6',
|
|
|
|
'dot-object': '1.5.4',
|
2016-09-22 13:55:16 +03:00
|
|
|
});
|
|
|
|
|
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',
|
2017-03-02 11:35:27 +02:00
|
|
|
'promise',
|
2017-03-02 10:43:47 +02:00
|
|
|
'aldeed:simple-schema@1.5.3',
|
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.mainModule('main.client.js', 'client');
|
|
|
|
api.mainModule('main.server.js', 'server');
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onTest(function (api) {
|
|
|
|
api.use('cultofcoders:grapher');
|
|
|
|
|
2016-11-07 18:44:09 +02:00
|
|
|
var packages = [
|
|
|
|
'ecmascript',
|
|
|
|
'underscore',
|
|
|
|
'matb33:collection-hooks@0.8.4',
|
|
|
|
'reywood:publish-composite@1.4.2',
|
|
|
|
'dburles:mongo-collection-instances@0.3.5',
|
|
|
|
'tmeasday:check-npm-versions@0.3.1',
|
|
|
|
'meteorhacks:aggregate@1.3.0',
|
|
|
|
'mongo'
|
|
|
|
];
|
|
|
|
|
|
|
|
api.use(packages);
|
2016-09-14 16:04:08 +03:00
|
|
|
api.use('tracker');
|
2016-09-23 13:31:33 +03:00
|
|
|
|
2017-11-23 21:09:14 +02:00
|
|
|
api.use([
|
|
|
|
'coffeescript@1.12.7_3',
|
|
|
|
'practicalmeteor:mocha@2.4.5_6',
|
|
|
|
'practicalmeteor:chai'
|
|
|
|
]);
|
2016-09-14 16:04:08 +03:00
|
|
|
|
2016-09-24 08:05:26 +03:00
|
|
|
// LINKS
|
2016-10-07 10:31:58 +03:00
|
|
|
api.addFiles('lib/links/tests/main.js', 'server');
|
2016-09-14 16:04:08 +03:00
|
|
|
|
2016-09-24 08:05:26 +03:00
|
|
|
// EXPOSURE
|
2016-10-07 10:31:58 +03:00
|
|
|
api.addFiles('lib/exposure/testing/server.js', 'server');
|
|
|
|
api.addFiles('lib/exposure/testing/client.js', 'client');
|
2016-09-24 08:05:26 +03:00
|
|
|
|
|
|
|
// QUERY
|
2016-09-23 13:31:33 +03:00
|
|
|
api.addFiles('lib/query/testing/bootstrap/index.js');
|
2016-10-14 10:57:26 +03:00
|
|
|
|
2016-09-23 13:41:13 +03:00
|
|
|
// When you play with tests you should comment this to make tests go faster.
|
2017-11-24 16:32:42 +02:00
|
|
|
// api.addFiles('lib/query/testing/bootstrap/fixtures.js', 'server');
|
2016-10-14 10:57:26 +03:00
|
|
|
|
2016-10-07 10:31:58 +03:00
|
|
|
api.addFiles('lib/query/testing/server.test.js', 'server');
|
|
|
|
api.addFiles('lib/query/testing/client.test.js', 'client');
|
|
|
|
|
|
|
|
// NAMED QUERY
|
|
|
|
api.addFiles('lib/namedQuery/testing/bootstrap/both.js');
|
|
|
|
api.addFiles('lib/namedQuery/testing/bootstrap/client.js', 'client');
|
|
|
|
api.addFiles('lib/namedQuery/testing/bootstrap/server.js', 'server');
|
|
|
|
|
|
|
|
api.addFiles('lib/namedQuery/testing/server.test.js', 'server');
|
|
|
|
api.addFiles('lib/namedQuery/testing/client.test.js', 'client');
|
2016-09-14 16:04:08 +03:00
|
|
|
});
|