forked from webauthn-open-source/fido2-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 2.56 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
{
"name": "fido2-lib",
"version": "3.5.3",
"description": "A library for performing FIDO 2.0 / WebAuthn functionality",
"type": "module",
"main": "dist/main.cjs",
"module": "lib/main.js",
"types": "./types/main.d.ts",
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build": "npm run test && npx rollup -c rollup.config.js && npm run test:dist",
"test": "c8 mocha",
"test:dist": "npx mocha test/dist",
"report": "c8 report --reporter=text-lcov > coverage.lcov",
"docs": "jsdoc -c ./.jsdoc-conf.json",
"publish-docs": "gh-pages --repo https://$GH_TOKEN@github.com/webauthn-open-source/fido2-lib.git --dist docs"
},
"keywords": [
"webauthn",
"authentication",
"fido",
"fido2",
"web authentication",
"u2f",
"server"
],
"author": "Adam Powers, JamesCullum, Hexagon & Contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/webauthn-open-source/fido2-lib"
},
"bugs": {
"url": "https://github.com/webauthn-open-source/fido2-lib/issues"
},
"devDependencies": {
"c8": "^8.0.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"docdash": "^2.0.1",
"eslint": "^8.42.0",
"gh-pages": "^5.0.0",
"jsdoc": "^4.0.2",
"mocha": "^10.3.0",
"rollup": "^3.25.1"
},
"dependencies": {
"@hexagon/base64": "~1.1.28",
"@peculiar/webcrypto": "~1.4.5",
"asn1js": "~3.0.2",
"cbor-x": "~1.5.8",
"jose": "^4.15.5",
"pkijs": "~3.0.15",
"punycode.js": "^2.3.1",
"tldts": "~6.1.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"rules": {
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"no-mixed-spaces-and-tabs": "error",
"quotes": [
"error",
"double",
{
"avoidEscape": true
}
],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "ignore"
}
],
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"semi": [
"error",
"always"
],
"no-multiple-empty-lines": [
"error",
{
"max": 2,
"maxEOF": 1
}
],
"no-var": [
"error"
]
},
"parserOptions": {
"requireConfigFile": false,
"sourceType": "module",
"ecmaVersion": 13
},
"ignorePatterns": [
"dist/*",
"test/dist/*"
],
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)"
],
"env": {
"mocha": true
}
}
]
},
"engines": {
"node": ">=10"
}
}