-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 5.57 KB
/
Copy pathpackage.json
File metadata and controls
163 lines (163 loc) · 5.57 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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "@le-space/orbitdb-identity-provider-webauthn-did",
"version": "0.5.1",
"description": "WebAuthn-based DID identity provider for OrbitDB for hardware-secured wallets and biometric Passkey authentication",
"main": "src/index.js",
"types": "types/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./src/index.js"
},
"./verification": {
"types": "./types/verification.d.ts",
"import": "./verification.js"
},
"./standalone": {
"types": "./types/standalone.d.ts",
"import": "./src/standalone/index.js"
},
"./keystore": {
"types": "./types/keystore.d.ts",
"import": "./src/keystore/index.js"
}
},
"scripts": {
"test": "npm run test:all",
"test:all": "playwright test",
"test:headed": "playwright test tests/webauthn-focused.test.js --headed --project=chromium",
"test:ui": "playwright test --ui",
"test:focused": "playwright test tests/webauthn-focused.test.js --project=chromium --reporter=line",
"test:unit": "playwright test tests/webauthn-unit.test.js",
"test:integration": "playwright test tests/webauthn-integration.test.js",
"test:verification": "playwright test tests/webauthn-verification.test.js --project=chromium",
"test:ci": "npm run test:node",
"test:logging": "DEBUG='orbitdb-identity-provider-webauthn-did*' playwright test tests/webauthn-logging-e2e.test.js --project=chromium --reporter=line",
"test:varsig-e2e": "playwright test tests/webauthn-varsig-e2e.test.js --project=chromium --reporter=line",
"test:encrypted-keystore": "USE_ENCRYPTED_DEMO=true playwright test tests/ed25519-encrypted-keystore-e2e.test.js --project=chromium --reporter=line",
"test:encrypted-keystore-headed": "USE_ENCRYPTED_DEMO=true playwright test tests/ed25519-encrypted-keystore-e2e.test.js --headed --project=chromium",
"test:full-flow": "npm run demo:setup && npm run test:focused",
"lint": "eslint src/ tests/",
"lint:fix": "eslint src/ tests/ --fix",
"format": "prettier --write . --ignore-unknown",
"format:check": "prettier --check . --ignore-unknown",
"prepublishOnly": "npm run test:ci",
"demo": "cd examples/webauthn-todo-demo && npm run dev",
"demo:build": "cd examples/webauthn-todo-demo && npm run build",
"demo:setup": "cd examples/webauthn-todo-demo && npm ci && npm run build",
"demo:preview": "cd examples/webauthn-todo-demo && npm run preview",
"validate-package": "npm pack --dry-run && echo 'Package validation successful'",
"preversion": "npm run test:ci",
"version": "git add -A",
"postversion": "git push && git push --tags",
"test:two-peer": "playwright test tests/webauthn-two-peer-replication.test.js --project=chromium --reporter=line",
"test:node": "playwright test --config=playwright.node.config.js"
},
"keywords": [
"orbitdb",
"identity",
"webauthn",
"did",
"biometric",
"authentication",
"decentralized",
"blockchain",
"cryptography"
],
"author": "OrbitDB Community",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Le-Space/orbitdb-identity-provider-webauthn-did.git"
},
"bugs": {
"url": "https://github.com/Le-Space/orbitdb-identity-provider-webauthn-did/issues"
},
"homepage": "https://github.com/Le-Space/orbitdb-identity-provider-webauthn-did#readme",
"peerDependencies": {
"@orbitdb/core": "^4.0.0"
},
"dependencies": {
"@ipld/dag-ucan": "^3.4.3",
"@ipld/dag-cbor": "^10.0.1",
"@le-space/ucanto-principal": "^9.1.2",
"@libp2p/logger": "^6.2.9",
"@libp2p/crypto": "^5.1.20",
"@simplewebauthn/browser": "^13.0.0",
"cbor-web": "^9.0.1",
"iso-base": "npm:@le-space/iso-base",
"iso-did": "npm:@le-space/iso-did@2.1.2",
"iso-passkeys": "npm:@le-space/iso-passkeys",
"iso-web": "^3.1.2",
"iso-webauthn-varsig": "npm:@le-space/iso-webauthn-varsig@^0.3.0",
"multiformats": "^14.0.0"
},
"devDependencies": {
"@chainsafe/libp2p-noise": "^17.0.0",
"@chainsafe/libp2p-yamux": "^8.0.1",
"@helia/bitswap": "^4.0.1",
"@helia/http": "^4.0.1",
"@helia/libp2p": "^1.0.1",
"@ipld/dag-json": "^11.0.0",
"@libp2p/gossipsub": "^16.0.3",
"@libp2p/identify": "^4.1.8",
"@libp2p/tcp": "^11.0.22",
"@libp2p/websockets": "^10.1.15",
"@orbitdb/core": "^4.0.0",
"@orbitdb/simple-encryption": "^0.0.2",
"@playwright/test": "^1.55.0",
"blockstore-core": "^7.0.1",
"blockstore-level": "^4.0.1",
"chai": "^5.0.0",
"datastore-core": "^12.0.1",
"datastore-level": "^13.0.1",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.1.8",
"helia": "^7.0.5",
"libp2p": "^3.3.4",
"mocha": "^10.0.0",
"prettier": "^3.6.2",
"vite-plugin-node-polyfills": "^0.24.0"
},
"engines": {
"node": ">=18.0.0"
},
"browser": {
"crypto": false
},
"files": [
"src/",
"types/",
"docs/API.md",
"verification.js",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"CODE_OF_CONDUCT.md",
"LICENSE",
"package.json"
],
"pnpm": {
"overrides": {
"iso-base": "npm:@le-space/iso-base",
"iso-did": "npm:@le-space/iso-did@2.1.2",
"iso-web": "^3.1.2",
"iso-webauthn-varsig": "npm:@le-space/iso-webauthn-varsig@^0.3.0",
"conf>ajv": "^8.18.0",
"ajv>fast-uri": "^3.1.4"
},
"onlyBuiltDependencies": [
"@ipshipyard/node-datachannel",
"classic-level",
"esbuild",
"node-datachannel"
]
},
"overrides": {
"iso-web": "^3.1.2"
},
"publishConfig": {
"access": "public"
}
}