stack/packages/template/package-template.json
2026-01-12 17:04:21 -08:00

166 lines
5.5 KiB
JSON

{
"//": "IF_PLATFORM template",
"name": "@stackframe/template",
"//": "ELSE_IF_PLATFORM js",
"name": "@stackframe/js",
"//": "ELSE_IF_PLATFORM next",
"name": "@stackframe/stack",
"//": "ELSE_IF_PLATFORM react",
"name": "@stackframe/react",
"//": "END_PLATFORM",
"//": "NEXT_LINE_PLATFORM template",
"private": true,
"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 .",
"//": "IF_PLATFORM template react-like",
"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"
,"//": "ELSE_PLATFORM",
"build": "rimraf dist && tsup-node",
"dev": "rimraf dist && tsup-node --watch"
,"//": "END_PLATFORM",
"//": "IF_PLATFORM template react-like"
,"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"
,"//": "END_PLATFORM",
"//": "IF_PLATFORM template"
,"codegen": "pnpm run css && pnpm run quetzal",
"codegen:watch": "concurrently -n \"css,quetzal\" -k \"pnpm run css:watch\" \"pnpm run quetzal:watch\"",
"override-env-local-for-quetzal": "echo \"\\n$STACK_ENV_LOCAL_PACKAGE_BUILD_OVERRIDE_FOR_QUETZAL\\n\" >> .env.local",
"quetzal": "rimraf quetzal-translations && pnpm run override-env-local-for-quetzal && quetzal-process-translations && tsx ./scripts/merge-quetzal-translations.ts",
"quetzal:ignore-errors": "pnpm run quetzal || echo Quetzal failed, probably because the API key is missing. We will just ignore it",
"quetzal:watch": "chokidar --silent \"src/**/*\" -i \"src/generated/quetzal-translations.ts\" -c 'pnpm run quetzal:ignore-errors' --throttle 2000"
,"//": "END_PLATFORM"
},
"files": [
"README.md",
"dist",
"CHANGELOG.md",
"LICENSE"
],
"dependencies": {
"@hookform/resolvers": "^3.3.4",
"@simplewebauthn/browser": "^11.0.0",
"//": "NEXT_LINE_PLATFORM next",
"@stackframe/stack-sc": "workspace:*",
"@stackframe/stack-shared": "workspace:*",
"//": "NEXT_LINE_PLATFORM react-like",
"@stackframe/stack-ui": "workspace:*",
"@tanstack/react-table": "^8.20.5",
"//": "NEXT_LINE_PLATFORM react-like",
"browser-image-compression": "^2.0.2",
"color": "^4.2.3",
"cookie": "^0.6.0",
"jose": "^5.2.2",
"js-cookie": "^3.0.5",
"//": "NEXT_LINE_PLATFORM react-like",
"lucide-react": "^0.378.0",
"oauth4webapi": "^2.10.3",
"@oslojs/otp": "^1.1.0",
"qrcode": "^1.5.4",
"//": "NEXT_LINE_PLATFORM react-like",
"react-easy-crop": "^5.4.1",
"//": "NEXT_LINE_PLATFORM react-like",
"react-hook-form": "^7.51.4",
"rimraf": "^5.0.5",
"//": "NEXT_LINE_PLATFORM react-like",
"tailwindcss-animate": "^1.0.7",
"tsx": "^4.7.2",
"yup": "^1.4.0"
},
"//": "IF_PLATFORM react-like",
"peerDependencies": {
"@types/react": ">=18.3.0",
"//": "IF_PLATFORM next",
"@types/react-dom": ">=18.3.0",
"react-dom": ">=18.3.0",
"next": ">=14.1 || >=15.0.0-canary.0 || >=15.0.0-rc.0",
"//": "END_PLATFORM",
"react": ">=18.3.0"
},
"//": "END_PLATFORM",
"//": "IF_PLATFORM react-like",
"peerDependenciesMeta": {
"//": "IF_PLATFORM next",
"@types/react-dom": {
"optional": true
},
"//": "END_PLATFORM",
"@types/react": {
"optional": true
}
},
"//": "END_PLATFORM",
"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",
"//": "NEXT_LINE_PLATFORM next",
"next": "^14.2.34",
"postcss": "^8.4.38",
"postcss-nested": "^6.0.1",
"react": "^19.0.0",
"//": "NEXT_LINE_PLATFORM react-like",
"react-dom": "^19.0.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.4",
"tsup": "^8.0.2",
"convex": "^1.27.0"
}
}