-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 2.92 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
112
113
114
115
116
117
118
{
"name": "codex-auth",
"version": "0.1.0",
"private": true,
"description": "Login with ChatGPT — a headless React component that lets your users authenticate with their personal ChatGPT account (Codex device-code flow) and run prompts on it. Research/education only; not published to npm. Use via git clone + npm link.",
"keywords": [
"chatgpt",
"codex",
"openai",
"oauth",
"login-with-chatgpt",
"react",
"device-code",
"auth"
],
"license": "MIT",
"type": "module",
"sideEffects": [
"**/*.css",
"./dist/ui*"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./run": {
"types": "./dist/run.d.ts",
"import": "./dist/run.js",
"require": "./dist/run.cjs"
},
"./backend": {
"node": {
"types": "./dist/backend.d.ts",
"import": "./dist/backend.js",
"require": "./dist/backend.cjs"
}
},
"./backend/direct": {
"types": "./dist/backend-direct.d.ts",
"import": "./dist/backend-direct.js",
"require": "./dist/backend-direct.cjs"
},
"./backend/next": {
"node": {
"types": "./dist/backend-next.d.ts",
"import": "./dist/backend-next.js",
"require": "./dist/backend-next.cjs"
}
},
"./backend/worker": {
"types": "./dist/backend-worker.d.ts",
"import": "./dist/backend-worker.js",
"require": "./dist/backend-worker.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"deploy",
"DEPLOYMENT.md",
"CONTRACT.md",
"SECURITY.md"
],
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint .",
"demo:server": "tsx demo/server/index.ts",
"demo:app": "vite --config demo/vite.config.ts",
"demo": "tsx demo/server/index.ts & vite --config demo/vite.config.ts"
},
"dependencies": {
"cookie-signature": "^1.2.2"
},
"peerDependencies": {
"express": ">=4",
"react": ">=17",
"react-dom": ">=17"
},
"peerDependenciesMeta": {
"express": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260628.1",
"@testing-library/react": "^16.1.0",
"@types/cookie-signature": "^1.1.2",
"@types/express": "^5.0.0",
"@types/node": "^22.10.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/supertest": "^6.0.2",
"cookie-signature": "^1.2.2",
"express": "^5.0.0",
"jsdom": "^25.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"supertest": "^7.0.0",
"tsup": "^8.3.5",
"tsx": "^4.22.4",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vitest": "^2.1.8"
}
}