-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.js
72 lines (58 loc) · 1.5 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Package.describe({
name: "pfafman:photo-up",
summary: "Upload a photo to the client with resize, crop and preview",
version: "0.5.2_2",
git: "https://github.com/pfafman/meteor-photo-up.git"
});
Package.onUse(function(api, where) {
api.use([
//'less',
'underscore',
'templating',
'blaze',
'jquery',
'coffeescript',
'reactive-var',
], 'client');
// Jcrop
api.addFiles([
'lib/Jcrop/jquery.Jcrop.js',
'lib/Jcrop/jquery.Jcrop.css'
], 'client');
api.addAssets([
'lib/Jcrop/Jcrop.gif'
], 'client');
// JavaScript-Load-Image
api.addFiles([
'lib/load-image/load-image.js',
//'lib/load-image/load-image-ios.js',
'lib/load-image/load-image-meta.js',
'lib/load-image/load-image-exif.js',
'lib/load-image/load-image-exif-map.js',
'lib/load-image/load-image-orientation.js',
], 'client');
api.addFiles([
//'lib/photoUp.less',
'lib/photoUp.css',
'lib/photoUp.html',
'lib/photoUp.coffee',
], 'client');
api.use([
'softwarerero:accounts-t9n',
'coffeescript',
], ["client", "server"]);
api.addFiles([
'lib/t9n/en.coffee',
'lib/t9n/es.coffee',
'lib/t9n/it.coffee',
'lib/t9n/de.coffee',
'lib/t9n/cs.coffee',
'lib/t9n/sk.coffee',
'lib/t9n/pt_BR.coffee'
], ["client", "server"]);
});
Package.onTest(function(api) {
api.use("pfafman:photo-up", 'client');
api.use(['tinytest', 'test-helpers', 'coffeescript'], 'client');
//api.add_files('photo-up-tests.coffee', 'client');
});