forked from MeteorPackaging/pdftk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
22 lines (20 loc) · 753 Bytes
/
Copy pathpackage.js
File metadata and controls
22 lines (20 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Package.describe({
name: 'pdftk:pdftk',
version: '0.7.0',
summary: 'Wrapper for PDFTK: PDF file merge, split, encrypt, decrypt, rotate, watermark, stamp and more',
git: 'https://github.com/MeteorPackaging/pdftk',
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom(['METEOR@0.9.3', 'METEOR@1.0']);
api.addFiles('pdftk-wrapper.js', 'server');
api.export('PDFTK');
});
Package.onTest(function(api) {
api.use('tinytest', 'server');
api.use('pdftk:pdftk', 'server'); // yes, our package tests have to explicitly use our package - https://github.com/meteor/meteor/issues/1620
api.addFiles([
'tests/pdftk_pdftk-tests.js',
'tests/in.pdf', 'tests/stamp.pdf', 'tests/out-stamp.pdf'
], 'server');
});