Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.44 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 3.44 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
{
"name": "@askrjs/auth",
"version": "0.4.2",
"description": "Shared authentication contracts and request auth resolution for Askr",
"keywords": [
"askr",
"authentication",
"authorization",
"mfa",
"oidc",
"saml",
"totp",
"webauthn"
],
"homepage": "https://github.com/askrjs/askr-auth#readme",
"bugs": {
"url": "https://github.com/askrjs/askr-auth/issues"
},
"license": "Apache-2.0",
"author": {
"name": "askrjs",
"url": "https://github.com/askrjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/askrjs/askr-auth.git"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"CHANGELOG.md",
"docs/0.5.0-api.md",
"docs/0.5.0-hardening.md",
"docs/server-session-contract.md",
"docs/providers-auth0.md",
"docs/providers-microsoft.md",
"docs/providers-google.md",
"docs/providers-apple.md"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./jwt": {
"types": "./dist/jwt.d.ts",
"import": "./dist/jwt.js"
},
"./oidc": {
"types": "./dist/oidc.d.ts",
"import": "./dist/oidc.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./dist/server.js"
},
"./providers/auth0": {
"types": "./dist/providers/auth0.d.ts",
"import": "./dist/providers/auth0.js"
},
"./saml": {
"types": "./dist/saml.d.ts",
"import": "./dist/saml.js"
},
"./mfa": {
"types": "./dist/mfa.d.ts",
"import": "./dist/mfa.js"
},
"./webauthn-client": {
"types": "./dist/webauthn-client.d.ts",
"import": "./dist/webauthn-client.js"
},
"./package.json": "./package.json",
"./providers/microsoft": {
"types": "./dist/providers/microsoft.d.ts",
"import": "./dist/providers/microsoft.js"
},
"./providers/google": {
"types": "./dist/providers/google.d.ts",
"import": "./dist/providers/google.js"
},
"./providers/apple": {
"types": "./dist/providers/apple.d.ts",
"import": "./dist/providers/apple.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vp pack",
"lint": "vp lint src tests && npm run typecheck",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run test:unit && npm run test:browser",
"test:unit": "vp test run -c vitest.config.ts",
"test:browser": "npm run build && playwright test",
"test:publint": "publint",
"pack:check": "node tests/package-artifacts.js",
"check": "npm run lint && npm run typecheck && npm test && npm run build && npm run test:publint && npm run pack:check && npm run test:packed",
"prepack": "npm run build",
"prepublishOnly": "npm run check",
"test:packed": "node tests/packed-contract.mjs",
"test:coverage": "vp test run -c vitest.config.ts --coverage",
"fmt": "vp fmt ."
},
"dependencies": {
"@xmldom/xmldom": "0.9.12",
"xml-crypto": "6.1.2",
"xml-encryption": "6.0.1"
},
"devDependencies": {
"@playwright/test": "1.63.0",
"@types/node": "^26.3.0",
"@typescript/typescript6": "npm:typescript@6.0.2",
"@vitest/coverage-v8": "4.1.11",
"publint": "^0.3.24",
"typescript": "7.0.2",
"vite-plus": "^0.3.1",
"vitest": "^4.1.11"
},
"engines": {
"node": ">=24.0.0"
},
"packageManager": "npm@12.0.1"
}