Skip to content

Commit 330b5fa

Browse files
committed
Add membership price info
1 parent 298a6f9 commit 330b5fa

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@acm-uiuc/js-shared",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "ACM UIUC Shared JS code",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
@@ -28,4 +28,4 @@
2828
"publishConfig": {
2929
"registry": "https://registry.npmjs.org"
3030
}
31-
}
31+
}

src/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const MembershipPriceCents = 2000
2+
export const MembershipPriceString = (MembershipPriceCents / 100).toLocaleString("en-US", { style: "currency", currency: "USD" });
3+
export const MembershipPriceIdStripe = "price_1MUGIRDiGOXU9RuSChPYK6wZ"

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
export * from "./orgs";
1+
export * from "./orgs";
2+
export * from "./constants"

0 commit comments

Comments
 (0)