-
Notifications
You must be signed in to change notification settings - Fork 448
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 3.9 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 3.9 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@clerk/backend",
"version": "3.2.2",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"homepage": "https://clerk.com/",
"bugs": {
"url": "https://github.com/clerk/javascript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clerk/javascript.git",
"directory": "packages/backend"
},
"license": "MIT",
"imports": {
"#crypto": {
"edge-light": "./dist/runtime/browser/crypto.mjs",
"worker": "./dist/runtime/browser/crypto.mjs",
"browser": "./dist/runtime/browser/crypto.mjs",
"node": {
"require": "./dist/runtime/node/crypto.js",
"import": "./dist/runtime/node/crypto.mjs"
},
"default": "./dist/runtime/browser/crypto.mjs"
}
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./errors": {
"import": {
"types": "./dist/errors.d.ts",
"default": "./dist/errors.mjs"
},
"require": {
"types": "./dist/errors.d.ts",
"default": "./dist/errors.js"
}
},
"./internal": {
"import": {
"types": "./dist/internal.d.ts",
"default": "./dist/internal.mjs"
},
"require": {
"types": "./dist/internal.d.ts",
"default": "./dist/internal.js"
}
},
"./jwt": {
"import": {
"types": "./dist/jwt/index.d.ts",
"default": "./dist/jwt/index.mjs"
},
"require": {
"types": "./dist/jwt/index.d.ts",
"default": "./dist/jwt/index.js"
}
},
"./webhooks": {
"import": {
"types": "./dist/webhooks.d.ts",
"default": "./dist/webhooks.mjs"
},
"require": {
"types": "./dist/webhooks.d.ts",
"default": "./dist/webhooks.js"
}
},
"./proxy": {
"import": {
"types": "./dist/proxy.d.ts",
"default": "./dist/proxy.mjs"
},
"require": {
"types": "./dist/proxy.d.ts",
"default": "./dist/proxy.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"files": [
"dist",
"errors",
"internal",
"jwt",
"webhooks",
"proxy"
],
"scripts": {
"build": "tsup",
"build:declarations": "tsc -p tsconfig.declarations.json",
"build:lib": "tsup --env.NODE_ENV production",
"build:runtime": "cpy 'src/runtime/**/*.{mjs,js,cjs}' dist/runtime",
"clean": "rimraf ./dist",
"dev": "tsup --watch",
"dev:pub": "pnpm dev -- --env.publish",
"format": "node ../../scripts/format-package.mjs",
"format:check": "node ../../scripts/format-package.mjs --check",
"lint": "eslint src",
"lint:attw": "attw --pack . --profile node16 --ignore-rules false-cjs",
"lint:publint": "publint",
"test": "run-s test:node test:edge-runtime test:cloudflare-miniflare",
"test:cloudflare-miniflare": "vitest run --environment miniflare",
"test:edge-runtime": "vitest run --environment edge-runtime",
"test:node": "vitest run --environment node",
"test:watch": "run-s test:watch:node test:watch:edge-runtime test:watch:cloudflare-miniflare",
"test:watch:cloudflare-miniflare": "vitest watch --environment miniflare",
"test:watch:edge-runtime": "vitest watch --environment edge-runtime",
"test:watch:node": "vitest watch --environment node"
},
"dependencies": {
"@clerk/shared": "workspace:^",
"standardwebhooks": "^1.0.0",
"tslib": "catalog:repo"
},
"devDependencies": {
"@edge-runtime/vm": "5.0.0",
"cookie": "1.0.2",
"msw": "2.11.6",
"npm-run-all": "^4.1.5",
"snakecase-keys": "9.0.2",
"vitest-environment-miniflare": "2.14.4"
},
"engines": {
"node": ">=20.9.0"
},
"publishConfig": {
"access": "public"
}
}