-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) Β· 2.03 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) Β· 2.03 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
{
"name": "@mrsarac/auth",
"version": "0.1.0",
"description": "Unified authentication package for Mustafa Sarac projects - JWT verification, Logto integration, guest mode, and quota management",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./middleware": {
"import": "./dist/middleware/index.mjs",
"require": "./dist/middleware/index.js",
"types": "./dist/middleware/index.d.ts"
},
"./react": {
"import": "./dist/react/index.mjs",
"require": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run --coverage",
"prepublishOnly": "npm run build"
},
"keywords": [
"auth",
"authentication",
"logto",
"jwt",
"oauth",
"guest-mode"
],
"author": "Mustafa Sarac <mustafa@mustafasarac.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mrsarac/auth.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"peerDependencies": {
"@logto/react": ">=3.0.0",
"react": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"@logto/react": {
"optional": true
}
},
"dependencies": {
"jose": "^5.2.0"
},
"devDependencies": {
"@logto/react": "^3.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@types/express": "^5.0.6",
"@types/node": "^20.10.0",
"@types/react": "^18.2.0",
"@vitest/coverage-v8": "^3.2.4",
"jsdom": "^27.3.0",
"react": "^18.2.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vite": "^7.3.0",
"vitest": "^3.2.4"
}
}