forked from mondora/mondora-connect-with
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
31 lines (29 loc) · 903 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
Package.describe({
name: "ipstas:oauth2-connect",
summary: "Connect other oauth accounts with an existing one, forked from mondora:connect-with, added Fsqr",
version: "0.0.1",
git: "https://github.com/ipstas/meteor-oauth2-connect.git"
});
Package.onUse(function (api) {
api.versionsFrom("[email protected]");
// Server dependencies
api.use("oauth", "server");
api.use("oauth-encryption", "server", {weak: true});
// Client dependencies
api.use("oauth", "client");
api.use("accounts-oauth", "client");
// Package files
api.addFiles("server.js", "server");
api.addFiles("client.js", "client");
});
Package.onTest(function (api) {
api.use("underscore");
api.use("tinytest");
api.use("oauth");
api.use("accounts-password");
api.use("accounts-google");
api.use("mondora:connect-with");
// Test files
api.addFiles("server-tests.js", "server");
api.addFiles("client-tests.js", "client");
});