-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.js
More file actions
47 lines (37 loc) · 842 Bytes
/
Copy pathpackage.js
File metadata and controls
47 lines (37 loc) · 842 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
38
39
40
41
42
43
44
45
46
47
Package.describe({
name: 'hitchcott:app-dump',
version: '0.4.2',
summary: 'In-app Backup and Restore for your Mongo Database',
git: 'https://github.com/hitchcott/app-dump',
documentation: 'README.md'
});
Npm.depends({
"moment": "2.9.0",
"busboy": "0.2.11",
"mongodb-backup": "1.4.2",
"mongodb-restore": "1.4.2"
});
Package.onUse(function(api) {
api.versionsFrom('1.0.3.2');
// SERVER
api.use([
'coffeescript',
'iron:router@1.0.7' // for REST endpoint only
], ['server'])
api.addFiles([
'app-dump-server.coffee'
], ['server']);
// CLIENT
api.use([
'coffeescript',
'templating',
'less@2.5.1',
'reactive-var'
], ['client'])
api.addFiles([
'app-dump-ui.html',
'app-dump-ui.coffee',
'app-dump-ui.less'
], ['client']);
api.export('appDump', ['server'])
});