-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
49 lines (40 loc) · 1002 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
42
43
44
45
46
47
48
49
var version = '1.7.0';
Package.describe({
version: version,
name: 'keplerjs:robots',
summary: 'keplerjs plugin to create various robot users to test interactions on the platform',
git: "https://github.com/Keplerjs/Kepler.git"
});
Npm.depends({
"geojson-random": "0.4.0",
//"simplify-geometry": "0.0.2"
});
Package.onUse(function(api) {
api.use([
'keplerjs:core@'+version,
'keplerjs:categories@'+version
]);
api.versionsFrom("1.5.1");
api.addFiles([
'plugin.js',
'i18n/it.js',
'i18n/en.js',
'i18n/de.js',
'i18n/es.js',
'i18n/fr.js'
]);
api.addFiles([
'client/stylesheets/icons.css',
'client/views/panels.html',
'client/Robots.js',
'client/User_robots.js',
'client/Place_robots.js'
],'client');
api.addFiles([
'server/Robots.js',
'server/admin.js',
'server/users.js',
],'server');
api.addAssets('assets/images/sprite.svg', 'client');
api.addAssets('assets/images/avatar_robot.svg', 'client');
});