-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.14 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
{
"name": "@kerits/core",
"version": "0.3.27",
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"react-native": "./src/index.ts",
"types": "./src/index.ts",
"worker": "./src/index.ts",
"browser": "./dist/browser.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./crypto": {
"bun": "./src/crypto/index.ts",
"react-native": "./src/crypto/index.ts",
"types": "./src/crypto/index.ts",
"worker": "./dist/crypto.js",
"browser": "./dist/crypto.js",
"import": "./dist/crypto.js",
"default": "./dist/crypto.js"
}
},
"files": [
"src",
"!src/**/__tests__",
"!src/**/*.test.ts",
"dist"
],
"sideEffects": false,
"scripts": {
"postinstall": "SUMO=node_modules/libsodium-sumo/dist/modules-sumo-esm/libsodium-sumo.mjs; DEST=node_modules/libsodium-wrappers-sumo/dist/modules-sumo-esm; [ -f \"$SUMO\" ] && [ -d \"$DEST\" ] && [ ! -f \"$DEST/libsodium-sumo.mjs\" ] && cp \"$SUMO\" \"$DEST/\" || true",
"build": "bun build src/index.ts --outdir dist --target node && bun build src/index.ts --outfile dist/browser.js --target browser --format esm",
"test": "bun test",
"typecheck": "tsc -p tsconfig.typecheck.json",
"lint": "biome check src",
"lint:fix": "biome check --write src",
"format": "biome format --write src"
},
"dependencies": {
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@scure/bip39": "^2.0.1",
"@sinclair/typebox": "^0.34.41",
"cesr-ts": "github:WebOfTrust/cesr-ts",
"jose": "^6.2.3",
"json-canonicalize": "^2.0.0"
},
"devDependencies": {
"@types/bun": "latest",
"typescript": "^5"
},
"homepage": "https://kerits.dev",
"repository": {
"type": "git",
"url": "https://github.com/aaronp/kerits.git",
"directory": "packages/core"
},
"license": "Apache-2.0",
"keywords": [
"KERI",
"CESR",
"SAID",
"ACDC",
"decentralized-identity",
"self-certifying",
"key-event-log",
"cryptography",
"ed25519"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}