forked from numtel/meteor-mysql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
58 lines (51 loc) · 1.19 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
Package.describe({
name: 'wj32:mysql',
summary: 'MySQL support with Reactive Select Subscriptions',
version: '1.1.9',
git: 'https://github.com/wj32/meteor-mysql.git'
});
Npm.depends({
'mysql': '2.10.2',
'mysql-live-select': 'https://github.com/wj32/mysql-live-select/tarball/7bc539c86263c603b63bacade9c1d459ef62b153'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use([
'underscore',
'ddp',
'tracker'
]);
api.addFiles('lib/LiveMysql.js', 'server');
api.export('LiveMysql', 'server');
});
Package.onTest(function(api) {
api.use([
'tinytest',
'templating',
'underscore',
'autopublish',
'insecure',
'http',
'grigio:[email protected]',
'simple:[email protected]',
'wj32: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',
'test/index.es6'
], 'server');
api.addFiles([
'test/MysqlSubscription.js',
// 'test/simple_rest.js'
]);
});