-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
36 lines (35 loc) · 927 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
/*
* @Author: sg
* @Date: 2014-06-12 13:51:42
* @Last Modified by: sg
* @Last Modified time: 2014-06-19 03:29:40
* @Email: sujith3g@gmail.com
*/
Package.describe({
summary: "jsTree 3.2.1 for meteor",
version: '0.0.6',
name: 'sujith3g:jstree',
git: 'https://github.com/sujith3g/jstree'
});
Package.on_use(function (api, where) {
api.use(['jquery@1.11.3_2'], 'client');
api.add_files([
'lib/default/32px.png',
'lib/default/40px.png',
'lib/default/style.css',
'lib/default/throbber.gif'
], 'client');
api.add_files([
'lib/default-dark/32px.png',
'lib/default-dark/40px.png',
'lib/default-dark/style.css',
'lib/default-dark/throbber.gif'
], 'client');
api.add_files('lib/jstree.js','client');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('sujith3g:jstree');
// api.addFiles('tests/server/example-spec.js', 'server');
api.addFiles('tests/jstree-test.js', "client");
});