forked from github/webauthn-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.25 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
{
"name": "@github/webauthn-json",
"version": "2.1.1",
"description": "A wrapper for the webauthn API that adapts input/output values to plain JSON with base64url.",
"author": "GitHub, Inc. <[email protected]>",
"license": "MIT",
"type": "module",
"repository": "github:github/webauthn-json",
"main": "dist/esm/webauthn-json.js",
"types": "dist/types/index.d.ts",
"bin": "dist/bin/main.js",
"exports": {
".": {
"require": "./dist/cjs/webauthn-json.cjs",
"import": "./dist/esm/webauthn-json.js",
"types": "./dist/types/index.d.ts"
},
"./extended": {
"require": "./dist/cjs/webauthn-json.extended.cjs",
"import": "./dist/esm/webauthn-json.extended.js",
"types": "./dist/types/extended.d.ts"
},
"./browser-ponyfill": {
"import": "./dist/esm/webauthn-json.browser-ponyfill.js",
"types": "./dist/types/browser-ponyfill.d.ts"
},
"./browser-ponyfill/extended": {
"import": "./dist/esm/webauthn-json.browser-ponyfill.extended.js",
"types": "./dist/types/browser-ponyfill.extended.d.ts"
}
},
"devDependencies": {
"@open-wc/testing": "^3.1.7",
"@types/node": "^18.11.9",
"barely-a-dev-server": "^0.3.6",
"esbuild": "^0.15.13",
"rome": "^10.0.1",
"typescript": "^5.0.2"
},
"scripts": {
"build": "npm run build-js && npm run build-types",
"build-js": "node script/build-js.js",
"build-types": "npx tsc -p tsconfig-types.json",
"build-pages": "node script/build-pages.js",
"dev": "node script/dev.js",
"clean": "rm -rf ./.temp ./dist",
"test": "npx web-test-runner && npm run lint",
"lint": "npx rome check src",
"format": "npx rome format --write src",
"prepack": "npm run clean && npm run build"
},
"keywords": [
"webauthn",
"auth",
"u2f",
"security",
"credentials"
],
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"files": [
"/LICENSE.md",
"/README.md",
"/package.json",
"/package-lock.json",
"/dist/**/*",
"/browser-ponyfill/**/*",
"/extended/**/*",
"/src/webauthn-json/**/*"
],
"dependencies": {
"@web/dev-server-esbuild": "^0.3.3",
"@web/test-runner": "^0.15.0"
}
}