-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.2 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@ouim/logto-authkit",
"version": "0.3.0",
"description": "A Logto auth kit with prebuilt React UI, hooks, server verification, and bundler helpers",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^18.18.0 || ^20.0.0 || ^22.0.0 || ^24.0.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js",
"require": "./dist/server/index.cjs"
},
"./bundler-config": {
"types": "./dist/bundler-config.d.ts",
"import": "./dist/bundler-config.js",
"require": "./dist/bundler-config.cjs"
}
},
"browser": {
"./dist/index.js": "./dist/index.js"
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --project tsconfig.build.json --emitDeclarationOnly",
"build:tsc": "tsc",
"dev": "tsc --watch",
"dev:example": "npm --prefix example_app run dev",
"test": "vitest",
"test:package": "node ./scripts/run-package-audit.mjs",
"test:size": "node ./scripts/check-bundle-size.mjs",
"test:smoke": "node ./scripts/run-packed-smoke-tests.mjs",
"test:coverage": "vitest --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"clean": "rimraf dist",
"prepublishOnly": "npm run clean && npm run build",
"publish": "npm publish --access public --provenance"
},
"peerDependencies": {
"@logto/react": "^3.0.0 || ^4.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.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",
"cookie-parser": "^1.4.7",
"jose": "^6.0.11",
"lucide-react": "^0.575.0",
"tailwind-merge": "^2.2.1"
},
"devDependencies": {
"@eslint/js": "^8.56.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^5.0.6",
"@types/node": "^22.19.15",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^5.2.1",
"happy-dom": "^20.7.0",
"rimraf": "^5.0.10",
"supertest": "^7.2.2",
"typescript": "^5.0.4",
"vite": "^6.4.1",
"vitest": "^4.0.18"
},
"keywords": [
"logto",
"auth",
"authentication",
"react"
],
"author": "thezem",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ouim-me/logto-authkit.git"
}
}