mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
<img width="1193" height="827" alt="Screenshot 2026-01-09 at 1 46 38 PM" src="https://github.com/user-attachments/assets/2703cb15-0be6-4df5-9c79-a45ac514444e" /> <img width="1192" height="750" alt="Screenshot 2026-01-09 at 1 49 01 PM" src="https://github.com/user-attachments/assets/9cfd4936-ed2f-4e4d-a5f9-0c25c87623f1" /> <! -- Make sure you've read the CONTRIBUTING.md guidelines: https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Manage and set default payment methods (user & team) via Setup Intents; Payments page in Account Settings to view/update card and active plans. * Product listings now include type (one_time | subscription) and subscription details (period end, cancelable, cancel-at-period-end). * Client/SDK: new billing APIs and Customer methods to fetch billing, create setup intents, and apply default payment methods. * **Tests** * New end-to-end tests for billing flows, setup-intent, and access control. * **Chores** * Added Stripe frontend libraries. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
114 lines
3.6 KiB
JSON
114 lines
3.6 KiB
JSON
{
|
|
"//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
|
|
"name": "@stackframe/react",
|
|
"version": "2.8.58",
|
|
"repository": "https://github.com/stack-auth/stack-auth",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./convex.config": {
|
|
"types": "./dist/integrations/convex/component/convex.config.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex/component/convex.config.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex/component/convex.config.js"
|
|
}
|
|
},
|
|
"./convex-auth.config": {
|
|
"types": "./dist/integrations/convex.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex.js"
|
|
}
|
|
}
|
|
},
|
|
"homepage": "https://stack-auth.com",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rimraf dist && rimraf node_modules",
|
|
"lint": "eslint --ext .tsx,.ts .",
|
|
"build": "rimraf dist && pnpm run css && tsup-node",
|
|
"dev": "rimraf dist && concurrently -n \"build,codegen\" -k \"tsup-node --watch\" \"pnpm run codegen:watch\"",
|
|
"codegen": "pnpm run css",
|
|
"codegen:watch": "pnpm run css:watch",
|
|
"css": "pnpm run css-tw && pnpm run css-sc",
|
|
"css:watch": "concurrently -n \"tw,sc\" -k \"pnpm run css-tw:watch\" \"pnpm run css-sc:watch\"",
|
|
"css-tw:watch": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css --watch",
|
|
"css-tw": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css",
|
|
"css-sc": "tsx ./scripts/process-css.ts ./src/generated/tailwind.css ./src/generated/global-css.ts",
|
|
"css-sc:watch": "chokidar --silent './src/generated/tailwind.css' -c 'pnpm run css-sc' --throttle 2000"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"dist",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@stripe/react-stripe-js": "^3.8.1",
|
|
"@stripe/stripe-js": "^7.7.0",
|
|
"@simplewebauthn/browser": "^11.0.0",
|
|
"@stackframe/stack-shared": "workspace:*",
|
|
"@stackframe/stack-ui": "workspace:*",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"browser-image-compression": "^2.0.2",
|
|
"color": "^4.2.3",
|
|
"cookie": "^0.6.0",
|
|
"jose": "^5.2.2",
|
|
"js-cookie": "^3.0.5",
|
|
"lucide-react": "^0.378.0",
|
|
"oauth4webapi": "^2.10.3",
|
|
"@oslojs/otp": "^1.1.0",
|
|
"qrcode": "^1.5.4",
|
|
"react-easy-crop": "^5.4.1",
|
|
"react-hook-form": "^7.51.4",
|
|
"rimraf": "^5.0.5",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tsx": "^4.7.2",
|
|
"yup": "^1.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": ">=18.3.0",
|
|
"react": ">=18.3.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@quetzallabs/i18n": "^0.1.19",
|
|
"@types/color": "^3.0.6",
|
|
"@types/cookie": "^0.6.0",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react-avatar-editor": "^13.0.3",
|
|
"autoprefixer": "^10.4.17",
|
|
"chokidar-cli": "^3.0.0",
|
|
"esbuild": "^0.20.2",
|
|
"i18next": "^23.14.0",
|
|
"i18next-parser": "^9.0.2",
|
|
"postcss": "^8.4.38",
|
|
"postcss-nested": "^6.0.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"rimraf": "^5.0.5",
|
|
"tailwindcss": "^3.4.4",
|
|
"tsup": "^8.0.2",
|
|
"convex": "^1.27.0"
|
|
}
|
|
} |