-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
41 lines (34 loc) · 893 Bytes
/
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
Package.describe({
summary: 'Reveal template names in your meteor project',
version: "0.2.0",
git: "https://github.com/Slava/Meteor-Xray.git",
// this package should be disabled in production
debugOnly: true
});
Package.onUse(function (api) {
api.use(['templating', 'underscore'], ['client']);
api.addFiles([
'client/lib/polyfills.js',
'client/lib/multiple_callbacks.js',
'client/xray.html',
'client/xray.css',
'client/xray.js'
], ['client']);
if (api.export) api.export('Xray');
});
Package.onTest(function (api) {
api.use([
'tinytest',
'test-helpers',
'templating',
'underscore',
'session',
'deps'
], 'client');
api.addFiles('client/lib/multiple_callbacks.js', ['client']);
api.addFiles([
'test/test-templates.html',
'test/multiple_callback_test.js'
], ['client']);
});