-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
sponsorkit.config.ts
50 lines (49 loc) · 1021 Bytes
/
sponsorkit.config.ts
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
import { defineConfig, tierPresets } from 'sponsorkit'
export default defineConfig({
// Providers configs
github: {
login: 'tresjs',
type: 'organization',
},
opencollective: {
slug: 'tresjs',
},
// Rendering configs
width: 800,
renderer: 'tiers', // or 'circles'
formats: ['json', 'svg', 'png'],
sponsorsAutoMerge: true,
tiers: [
// Past sponsors, currently only supports GitHub
{
title: 'Past Sponsors',
monthlyDollars: -1,
preset: tierPresets.xs,
},
// Default tier
{
title: 'Backers',
preset: tierPresets.base,
},
{
title: 'Sponsors',
monthlyDollars: 10,
preset: tierPresets.medium,
},
{
title: 'Generous Backers',
monthlyDollars: 50,
preset: tierPresets.large,
},
{
title: 'Bronze Sponsors',
monthlyDollars: 100,
preset: tierPresets.xl,
},
{
title: 'Silver Sponsors',
monthlyDollars: 200,
preset: tierPresets.xl,
},
],
})