-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
32 lines (26 loc) · 881 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
Package.describe({
name: 'napsy:cfs-ipfs',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'CollectionFS - IPFS StorageAdapter',
// URL to the Git repository containing the source code for this package.
git: 'git@github.com:mhhf/cfs-ipfs.git',
// 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({
'stream-buffers': '2.1.0',
'ipfs-api': '2.1.1'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.3');
api.use(['cfs:base-package@0.0.30', 'cfs:storage-adapter@0.2.1']);
api.addFiles('ipfs.server.js', ['server']);
api.addFiles('ipfs.client.js', ['client']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('napsy:cfs-ipfs');
api.addFiles('cfs-ipfs-tests.js');
});