-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
32 lines (28 loc) · 1.05 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
Package.describe({
name: 'branche:one-time-pass',
version: '0.1.0',
// Brief, one-line summary of the package.
summary: 'Timed One Time PassCode, compatible with google authenticator',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/DES-simeon/one-time-pass.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.use('mongo');
api.use('aldeed:simple-schema');
api.use('reywood:publish-composite');
api.versionsFrom('[email protected]');
api.addFiles('one-time-pass-server.js', 'server');
api.addFiles('one-time-pass-collections.js', 'server');
// api.use('jeeeyul:[email protected]');
api.export('MeteorOTP');
api.export('TOTP',['server','client']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('branche:one-time-pass');
api.addFiles('one-time-passcode-tests.js');
});
Npm.depends({"speakeasy": "2.0.0"});