-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
151 lines (151 loc) · 3.16 KB
/
package.json
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
141
142
143
144
145
146
147
148
149
150
151
{
"name": "web-auth-library",
"version": "1.0.3",
"packageManager": "[email protected]",
"description": "Authentication library for the browser environment using Web Crypto API",
"license": "MIT",
"author": {
"name": "Kriasoft",
"email": "[email protected]",
"url": "https://github.com/kriasoft"
},
"contributors": [
{
"name": "Konstantin Tarkus",
"email": "[email protected]",
"url": "https://github.com/koistya"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/kriasoft"
},
{
"type": "patreon",
"url": "https://www.patreon.com/koistya"
}
],
"repository": "github:kriasoft/web-auth-library",
"keywords": [
"auth",
"authentication",
"authorization",
"bearer",
"browser",
"bun",
"cloudflare-workers",
"cloudflare",
"crypto",
"decrypt",
"deno",
"encrypt",
"hono",
"jsonwebtoken",
"jwk",
"jwt",
"keys",
"oauth",
"oauth2",
"sign",
"subtlecrypto",
"token",
"typescript",
"web",
"webcrypto"
],
"files": [
"dist"
],
"type": "module",
"exports": {
".": "./dist/index.js",
"./jwt": "./dist/core/jwt.js",
"./google": {
"types": "./dist/google/index.d.ts",
"import": "./dist/google/index.js",
"default": "./dist/google/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint --report-unused-disable-directives .",
"test": "node --experimental-vm-modules $(yarn bin jest)",
"build": "rm -rf ./dist && yarn tsc"
},
"dependencies": {
"jose": ">= 4.12.0 < 5.0.0",
"rfc4648": "^1.5.2"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@cloudflare/workers-types": "^4.20230228.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.3",
"babel-plugin-replace-import-extension": "^1.1.3",
"dotenv": "^16.0.3",
"envalid": "^7.3.1",
"eslint": "^8.35.0",
"jest": "^29.4.3",
"jest-environment-miniflare": "^2.12.1",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "last 2 Chrome versions",
"modules": false
}
],
"@babel/preset-typescript"
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".ts"
}
}
]
]
},
"eslintConfig": {
"root": true,
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": [
"*.test.ts",
"*.test.js"
],
"env": {
"jest": true
}
}
],
"ignorePatterns": [
"/.yarn/**",
"/dist/**",
"/node_modules/**"
]
}
}