forked from jamgold/cropuploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
38 lines (33 loc) · 1.31 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
Package.describe({
name: 'jamgold:cropuploader',
version: '0.0.3_2',
// Brief, one-line summary of the package.
summary: 'Use slingshot to upload images to S3 and create thumbnails',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/jamgold/cropuploader/releases/tag/0.0.3',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Npm.depends({
"knox": "0.9.2",
});
Package.onUse(function(api) {
// https://github.com/blueimp/JavaScript-Canvas-to-Blob
api.versionsFrom('[email protected]');
api.use('standard-app-packages', ['client', 'server']);
api.use('reactive-var');
api.use(['raix:[email protected]','edgee:[email protected]']);
api.imply(['raix:md5','edgee:slingshot']);
// Npm.require('knox');
Npm.require('fibers/future');
api.export('CropUploader');
api.addFiles('cropuploader-common.js', ['client','server']);
api.addFiles('cropuploader-server.js','server');
api.addFiles(['cropper.min.js','cropper.min.css','canvas-to-blob.js','cropuploader.css','cropuploader.html','cropuploader-client.js'],'client');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('jamgold:cropuploader');
api.addFiles('cropuploader-tests.js');
});