-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
40 lines (40 loc) · 1.64 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
{
"name": "webauthn-demo",
"version": "1.1.0",
"description": "A demo of passwordless Web Authentication (WebAuthn)",
"main": "js/index.js",
"scripts": {
"private-key": "openssl genrsa -out ssl/private-key.pem 2048",
"req-cert": "openssl req -new -nodes -sha256 -key ssl/private-key.pem -out ssl/localhost-csr.pem -config ssl/openssl.cnf",
"sign-cert": "openssl x509 -req -sha256 -days 3650 -in ssl/localhost-csr.pem -signkey ssl/private-key.pem -out ssl/localhost-cert.pem -extfile ssl/openssl.cnf -extensions v3_req",
"generate-cert": "npm run private-key && npm run req-cert && npm run sign-cert",
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "ws -p 8080 --https --key ./certs/private-key.pem --cert ./certs/cert.pem --spa index.html",
"webauthn-server": "node server/webauthn-server.js",
"start": "concurrently \"npm run serve\" \"npm run webauthn-server\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/DannyMoerkerke/webauthn-demo.git"
},
"author": "Danny Moerkerke <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/DannyMoerkerke/webauthn-demo/issues"
},
"homepage": "https://github.com/DannyMoerkerke/webauthn-demo#readme",
"dependencies": {
"fido2-lib": "^3.5.3",
"@dannymoerkerke/material-webcomponents": "^1.4.0",
"base64url": "^3.0.1",
"body-parser": "^1.4.3",
"concurrently": "^9.1.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"error-handler": "^1.0.0",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-session": "^1.18.1",
"local-web-server": "^5.4.0"
}
}