-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
49 lines (46 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
41
42
43
44
45
46
47
48
49
{
"name": "@passwordless-id/webauthn",
"version": "2.1.2",
"description": "A small wrapper around the webauthn protocol to make one's life easier.",
"type": "module",
"files": ["dist/"],
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"main": "dist/cjs/webauthn.cjs",
"browser": "dist/browser/webauthn.min.js",
"scripts": {
"build": "npm run build-module && npm run build-nodejs && npm run build-browser && npm run build-demos",
"build-module": "tsc",
"build-nodejs": "esbuild src/index.ts --platform=node --bundle --banner:js=/*passwordless-id/[email protected]*/ --outfile=dist/cjs/webauthn.cjs",
"build-browser": "esbuild src/index.ts --platform=browser --bundle --banner:js=/*passwordless-id/[email protected]*/ --format=esm --minify --sourcemap --outfile=dist/browser/webauthn.min.js",
"build-demos": "cp dist/browser/*.js docs/demos/js; cp dist/browser/*.js.map docs/demos/js",
"test": "jest",
"dev": "mkdocs serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/passwordless-id/webauthn.git"
},
"keywords": [
"authentication",
"webauthn",
"passkeys",
"passwordless"
],
"author": "Arnaud Dagnelies",
"license": "MIT",
"funding": "https://github.com/sponsors/passwordless-id",
"bugs": {
"url": "https://github.com/passwordless-id/webauthn/issues"
},
"homepage": "https://webauthn.passwordless.id",
"devDependencies": {
"@types/jest": "^29.5.12",
"esbuild": "^0.21.3",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"ts-jest": "^29.1.3",
"typescript": "^5.4.5"
}
}