-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.js
35 lines (28 loc) · 995 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
33
34
35
Package.describe({
summary: "Cart",
name: "natestrauser:cart",
summary: "A simple and pluggable shopping cart that uses stripe for payments",
version: "0.0.5",
git: "https://github.com/nate-strauser/meteor-cart.git"
});
Package.on_use(function (api) {
api.versionsFrom("[email protected]");
Npm.depends({ "stripe": "2.8.0" });
api.use([
'templating',
'session',
'amplify'
]
, 'client');
api.use([
'iron:[email protected]', '[email protected]', 'underscore', 'accounts-base', 'random'
], ['server','client']);
api.addFiles('lib/stripe/stripe_client.js', 'client');
api.addFiles('lib/stripe/stripe_checkout.js', 'client');
api.addFiles('lib/stripe/stripe_server.js', 'server');
api.add_files(['lib/both/environment.js'], ['client','server']);
api.add_files(['lib/client/cart.html','lib/client/cart.js'], 'client');
api.add_files(['lib/server/publications.js'], 'server');
api.export('Cart', ['client','server']);
});