-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.4 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.4 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
119
120
121
122
123
124
125
126
{
"name": "oauth-callback",
"version": "2.2.0",
"description": "Lightweight OAuth 2.0 callback handler for Node.js, Deno, and Bun with built-in browser flow and MCP SDK integration",
"keywords": [
"oauth",
"oauth2",
"callback",
"authorization-code",
"pkce",
"authentication",
"mcp",
"model-context-protocol",
"dynamic-client-registration",
"localhost",
"cli",
"cli-tool",
"desktop-app",
"typescript",
"node",
"deno",
"bun",
"rfc6749",
"rfc7636",
"rfc8252",
"rfc7591",
"token",
"refresh-token",
"openid",
"oidc"
],
"author": "Konstantin Tarkus <koistya@kriasoft.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kriasoft/oauth-callback.git"
},
"homepage": "https://kriasoft.com/oauth-callback",
"bugs": {
"url": "https://github.com/kriasoft/oauth-callback/issues"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/koistya"
},
"files": [
"dist",
"src",
"LICENSE",
"README.md"
],
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./mcp": {
"types": "./dist/mcp.d.ts",
"default": "./dist/mcp.js"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": ">=1.17.0 <2",
"typescript": ">=5 <6"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
},
"typescript": {
"optional": true
}
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.25.3",
"@types/bun": "^1.3.6",
"@types/deno": "^2.5.0",
"@types/node": "^25.0.10",
"bun-types": "^1.2.20",
"mermaid": "^11.12.2",
"open": "^11.0.0",
"prettier": "^3.8.1",
"publint": "^0.3.17",
"srcpack": "^0.1.13",
"typescript": "^5.9.3",
"vitepress": "^2.0.0-alpha.15",
"vitepress-plugin-llms": "^1.10.0",
"vitepress-plugin-mermaid": "^2.0.17"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"endOfLine": "lf"
},
"scripts": {
"build:templates": "bun run templates/build.ts",
"build": "bun run build:templates && bun build ./src/index.ts --outdir=./dist --target=node && bun build ./src/mcp.ts --outdir=./dist --target=node --external=@modelcontextprotocol/sdk && tsc --declaration --emitDeclarationOnly --outDir ./dist",
"clean": "rm -rf dist",
"test": "bun test",
"test:login": "bun run scripts/test-login.ts",
"typecheck": "bun tsc -p tsconfig.json --noEmit",
"format": "bun prettier --write .",
"format:check": "bun prettier --check .",
"lint:package": "publint",
"validate": "bun run format:check && bun run typecheck && bun run test && bun run lint:package",
"example:demo": "bun run examples/demo.ts",
"example:github": "bun run examples/github.ts",
"example:notion": "bun run examples/notion.ts",
"example:mcp-auth": "bun run examples/mcp-auth.ts",
"prepublishOnly": "bun run build && bun run lint:package",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:deploy": "bunx gh-pages -d docs/.vitepress/dist"
}
}