-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
55 lines (48 loc) · 1.36 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Package.describe({
summary: "Various stripe billing functionality packaged up.",
version: "1.0.0",
git: "https://github.com/stratogee/stripe-billing.git"
});
Package.onUse(function(api) {
api.versionsFrom('METEOR@0.9.1.1');
api.use([
'templating',
'jquery',
'deps',
'softwarerero:accounts-t9n'
], 'client');
api.use([
'accounts-password',
'meteorhacks:npm',
'hellogerard:reststop2'
], 'server');
api.use([
'coffeescript',
], ['client', 'server']);
api.addFiles([
'client/views/creditCard/creditCard.html',
'client/views/creditCard/creditCard.styl',
'client/views/creditCard/creditCard.coffee',
'client/views/invoices/invoices.html',
'client/views/invoices/invoices.coffee',
'client/views/invoices/invoices.styl',
'client/views/currentCreditCard/currentCreditCard.html',
'client/views/currentCreditCard/currentCreditCard.coffee',
'client/startup.coffee',
'client/billing.coffee',
'public/img/credit-cards.png',
'public/img/cvc.png',
'client/i18n/english.coffee'
], 'client');
api.addFiles([
'server/startup.coffee',
'server/billing.coffee',
'server/methods.coffee',
'server/webhooks.coffee'
], 'server');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('stratogee:stripe-billing');
api.addFiles('stratogee:stripe-billing-tests.js');
});