- apps/web: public marketing site (Next.js) — hero/§34, what-you-can-sell grid, how-it-works, dev tools, marketplace teaser, /pricing (§32 tiers), /use-cases (§29). - apps/portal: customer portal (Next.js, §31) — per-customer overview, purchases/ receipts, license keys, api keys, github/discord access (+re-check), subscriptions, downloads; anchored on the universal entitlements layer. - packages/coupons: real discount engine (percent/amount/free-trial, window, expiry, max + per-customer redemptions, min-subtotal, product scoping), bigint USDC math, CouponStore + service. - packages/invoices: real invoicing (line items, discount, @settlekit/tax, statuses, HTML/text render), fixed float bug, InvoiceStore + service. - apps/api: /v1/coupons + /v1/invoices routes wired into context + app. - apps/dashboard: Coupons + Invoices pages + nav + client methods. All package + backend builds 0 TS errors; web/portal/dashboard typecheck clean; 590 tests pass (two redesigned coupon/invoice tests updated to the new API).
25 lines
606 B
JSON
25 lines
606 B
JSON
{
|
|
"name": "@settlekit/web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "SettleKit marketing site — sell software, private repos, SaaS, APIs, and AI tools in USDC.",
|
|
"scripts": {
|
|
"dev": "next dev -p 3006",
|
|
"build": "next build",
|
|
"start": "next start -p 3006",
|
|
"lint": "next lint",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"next": "^14.2.5",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.0",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|