@ouim/simple-logto
Version:
A simpler way to use @logto/react with prebuilt UI components and hooks for fast authentication setup
75 lines (74 loc) • 1.87 kB
JSON
{
"name": "@ouim/simple-logto",
"version": "0.1.2",
"description": "A simpler way to use @logto/react with prebuilt UI components and hooks for fast authentication setup",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./backend": {
"import": "./dist/backend/index.js",
"require": "./dist/backend/index.cjs",
"types": "./dist/backend/index.d.ts"
}
},
"browser": {
"./dist/index.js": "./dist/index.js"
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
"build:tsc": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"peerDependencies": {
"@logto/react": "^2.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"dependencies": {
"@fingerprintjs/fingerprintjs": "^4.6.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-tooltip": "^1.2.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"jose": "^6.0.11",
"lucide-react": "^0.344.0",
"tailwind-merge": "^2.2.1"
},
"devDependencies": {
"@types/node": "^22.15.30",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"typescript": "^5.0.0",
"vite": "^4.0.0"
},
"keywords": [
"logto",
"auth",
"authentication",
"react"
],
"author": "thezem",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/thezem/simple-logto"
}
}