-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
40 lines (33 loc) · 1.06 KB
/
package.js
File metadata and controls
40 lines (33 loc) · 1.06 KB
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
Package.describe({
name: "msgfmt:ui",
version: "2.0.0",
summary: "web-based translation UI, optional crowd-sourcing",
git: "https://github.com/gadicc/meteor-messageformat.git",
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0.1");
api.use('templating', 'client');
api.use('webapp', 'server');
//api.use('iron:router@1.0.0', ['client', 'server']);
api.use('nicolaslopezj:router-layer@0.0.11', 'client');
api.use(['mongo', 'underscore']);
api.use('msgfmt:core@2.0.0-preview.2');
api.use('session', 'client');
api.addFiles('lib/common.js');
api.addFiles('lib/server.js', 'server');
// client
api.addFiles([
'lib/ui.html',
'lib/ui.css',
'lib/client.js',
'lib/3rdparty/taboverride.js',
'lib/3rdparty/taboverride.jquery.js',
], 'client');
});
Package.onTest(function(api) {
api.use(['tinytest', 'http', 'ejson', 'underscore']);
api.use(['msgfmt:core', 'msgfmt:ui']);
//api.addFiles('tests/tests-client.js', 'client');
api.addFiles('tests/tests-server.js', 'server');
});