-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
37 lines (33 loc) · 819 Bytes
/
package.js
File metadata and controls
37 lines (33 loc) · 819 Bytes
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
Package.describe({
name: 'particle4dev:meteor-cron2',
summary: 'node-cron for meteor',
version: '1.1.0',
git: 'https://github.com/particle4dev/meteor-cron.git'
});
// meteor test-packages ./
Npm.depends({
'cron': '1.0.9',
'time': '0.11.1'
});
Package.on_use(function (api) {
api.versionsFrom('METEOR@0.9.0');
api.add_files([
'src/exports.js',
'src/wrap.js'
], ['server']);
if (typeof api.export !== 'undefined') {
api.export('CRON', ['server']);
}
});
Package.on_test(function (api) {
api.use(['particle4dev:meteor-cron2'], ['server']);
api.use([
'tinytest',
'test-helpers'
], ['server', 'client']);
api.add_files('test/simple.js', ['server', 'client']);
api.add_files([
'test/newCronJob.js',
'test/onstop.js'
], ['server']);
});