forked from wj32/meteor-mysql
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.js
60 lines (52 loc) · 1.13 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Package.describe({
name: 'vlasky:mysql',
summary: 'MySQL support with Reactive Select Subscriptions',
version: '1.3.0',
git: 'https://github.com/vlasky/meteor-mysql.git'
});
Npm.depends({
'lodash': '4.17.21',
'@vlasky/mysql-live-select': '1.2.27'
});
Package.onUse(function(api) {
api.versionsFrom(['1.3', '1.4', '3.0']);
api.use([
'ecmascript',
'ddp',
'tracker'
]);
api.mainModule('lib/LiveMysql.js', 'server');
});
Package.onTest(function(api) {
api.use([
'tinytest',
'ecmascript',
'templating',
'underscore',
'autopublish',
'insecure',
'http',
'simple:[email protected]',
'vlasky:mysql',
]);
api.use('test-helpers'); // Did not work concatenated above
api.addFiles([
'test/helpers/expectResult.js',
'test/helpers/randomString.js'
]);
api.addFiles([
'test/fixtures/tpl.html',
'test/fixtures/tpl.js'
], 'client');
api.addFiles([
'test/helpers/queryEx.js',
'test/helpers/querySequence.js',
], 'server');
api.addAssets([
'test/index.es6'
], 'server');
api.addFiles([
'test/MysqlSubscription.js',
// 'test/simple_rest.js'
]);
});