forked from github/webauthn-json
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.05 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.05 KB
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
{
"name": "@github/webauthn-json",
"version": "1.0.2",
"description": "A wrapper for the webauthn API that adapts input/output values to plain JSON with base64url.",
"author": "GitHub, Inc. <opensource+webauthn-json@github.com>",
"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"
}
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^17.0.8",
"barely-a-dev-server": "^0.2.6",
"esbuild": "^0.14.11",
"jest": "^27.4.7",
"prettier": "^2.5.1",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
},
"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 jest && npm run lint",
"lint": "npx prettier --check src",
"format": "npx prettier --write src",
"prepack": "npm run clean && npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"keywords": [
"webauthn",
"auth",
"u2f",
"security",
"credentials"
],
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"prettier": {
"semi": true,
"trailingComma": "all",
"tabWidth": 2,
"quoteProps": "consistent"
},
"files": [
"/LICENSE.md",
"/README.md",
"/package.json",
"/package-lock.json",
"/dist/**/*",
"/extended/**/*",
"/src/webauthn-json/**/*"
]
}