Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.52 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 4.52 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
{
"name": "webtessera",
"version": "0.1.0",
"description": "A faithful TypeScript port of Tessera, the tile-based transparency log, for browsers, edge runtimes and servers, with IndexedDB and SQLite storage.",
"keywords": [
"transparency-log",
"tessera",
"tlog-tiles",
"c2sp",
"merkle-tree",
"certificate-transparency",
"witness",
"indexeddb",
"sqlite"
],
"license": "Apache-2.0 AND BSD-3-Clause",
"author": "MedDeck LTDA",
"homepage": "https://github.com/diagnos-tech/webtessera#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/diagnos-tech/webtessera.git"
},
"bugs": {
"url": "https://github.com/diagnos-tech/webtessera/issues"
},
"type": "module",
"sideEffects": [
"./dist/server/NOT-FOR-BROWSERS--use-webtessera-browser.js",
"./dist/server/index.js"
],
"engines": {
"node": ">=22.18"
},
"packageManager": "bun@1.3.14",
"workspaces": [
"examples/*",
"site"
],
"files": [
"dist",
"!dist/**/*_test.*",
"LICENSE",
"LICENSES",
"NOTICE",
"README.md"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"webtessera": "./dist/cli/webtessera.js"
},
"exports": {
".": "./dist/index.js",
"./api": "./dist/api/state.js",
"./api/layout": "./dist/api/layout/index.js",
"./client": "./dist/client/index.js",
"./fsck": "./dist/fsck/index.js",
"./ctonly": "./dist/ctonly/ct.js",
"./merkle/rfc6962": "./dist/vendor/merkle/rfc6962/rfc6962.js",
"./merkle/compact": "./dist/vendor/merkle/compact/index.js",
"./merkle/proof": "./dist/vendor/merkle/proof/index.js",
"./note": "./dist/vendor/note/note.js",
"./formats/log": "./dist/vendor/formats/log/index.js",
"./formats/proof": "./dist/vendor/formats/proof/index.js",
"./storage/objectstore": "./dist/storage/objectstore/index.js",
"./storage/memory": "./dist/storage/memory/index.js",
"./storage/indexeddb": "./dist/storage/indexeddb/index.js",
"./storage/sqlite": "./dist/storage/sqlite/index.js",
"./http": "./dist/http/index.js",
"./witness": "./dist/witness/index.js",
"./mirror": "./dist/mirror/index.js",
"./server": {
"workerd": "./dist/server/index.js",
"edge-light": "./dist/server/index.js",
"react-native": "./dist/server/NOT-FOR-BROWSERS--use-webtessera-browser.js",
"browser": "./dist/server/NOT-FOR-BROWSERS--use-webtessera-browser.js",
"default": "./dist/server/index.js"
},
"./browser": "./dist/browser/index.js",
"./testonly": "./dist/testonly/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && node scripts/link-decisions.mjs",
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.workers.json",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "bun run test:unit && bun run test:workers && bun run test:browser",
"test:unit": "vitest run --config vitest.config.ts",
"test:workers": "vitest run --config vitest.workers.config.ts",
"test:browser": "vitest run --config vitest.browser.config.ts",
"test:services": "vitest run --config vitest.services.config.ts",
"test:watch": "vitest --config vitest.config.ts",
"upstream": "bun scripts/fetch-upstream.mjs",
"fixtures": "bun scripts/fetch-upstream.mjs && cd fixtures/gen && go run . -out ../data",
"interop": "node scripts/interop.mjs",
"test:parity": "node scripts/test-parity.mjs",
"smoke": "bun run build && node scripts/smoke-runtimes.mjs && node scripts/smoke-sqlite.mjs && node scripts/smoke-workerd.mjs",
"check": "bun run lint && bun run typecheck && bun run test && bun run build",
"prepack": "bun run clean && bun run build",
"prepare": "node scripts/prepare.mjs"
},
"dependencies": {
"@noble/curves": "^2.3.0",
"@noble/hashes": "^2.3.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@cloudflare/vitest-pool-workers": "0.22.0",
"@cloudflare/workers-types": "5.20261002.1",
"@libsql/client": "0.18.0",
"@sqlite.org/sqlite-wasm": "3.53.4-build2",
"@vitest/browser": "4.1.11",
"@vitest/browser-playwright": "4.1.11",
"aws4fetch": "1.0.20",
"esbuild": "0.28.1",
"fake-indexeddb": "6.2.5",
"playwright": "1.56.1",
"typescript": "5.9.3",
"vitest": "4.1.11",
"wrangler": "4.124.0"
},
"trustedDependencies": [
"esbuild",
"workerd"
]
}