threshold-elgamal 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -234,9 +234,13 @@ pnpm install
|
|
|
234
234
|
pnpm run lint
|
|
235
235
|
pnpm run tsc
|
|
236
236
|
pnpm run test
|
|
237
|
+
pnpm run coverage:node
|
|
237
238
|
pnpm run build
|
|
239
|
+
pnpm exec playwright install chromium firefox webkit
|
|
240
|
+
pnpm exec tsx ./tools/ci/verify-browser-compat.ts
|
|
238
241
|
pnpm run verify:docs
|
|
239
242
|
pnpm run docs:build:site
|
|
243
|
+
pnpm run smoke:pack
|
|
240
244
|
```
|
|
241
245
|
|
|
242
246
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "threshold-elgamal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A browser-native TypeScript ElGamal library for Ristretto255-based research prototypes, shipping additive ElGamal, threshold decryption, protocol helpers, board auditing, transport primitives, and log-driven DKG state machines.",
|
|
5
5
|
"author": "Piotr Piech <piotr@piech.dev>",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -16,13 +16,16 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"lint": "eslint . -c eslint.config.js",
|
|
18
18
|
"eslint:fix": "eslint . --fix -c eslint.config.js",
|
|
19
|
+
"check": "pnpm run lint && pnpm run tsc && knip && tsx ./tools/ci/verify-vectors.ts",
|
|
19
20
|
"tsc": "tsc",
|
|
20
|
-
"test": "vitest --project node --run
|
|
21
|
+
"test:node": "vitest --project node --run",
|
|
22
|
+
"test:browser": "vitest --project browser --run",
|
|
23
|
+
"test": "pnpm run test:node && pnpm run test:browser",
|
|
21
24
|
"test:watch": "vitest --project node --watch",
|
|
22
25
|
"coverage:node": "vitest --project node --run --coverage",
|
|
23
26
|
"coverage:badge": "pnpm run coverage:node && tsx ./tools/generate-coverage-badge.ts",
|
|
24
27
|
"smoke:pack": "tsx ./tools/ci/verify-packed-package.ts",
|
|
25
|
-
"prebuild": "pnpm run
|
|
28
|
+
"prebuild": "pnpm run check && pnpm run test",
|
|
26
29
|
"build": "pnpm exec del-cli dist && tsc --project tsconfig.build.json && tsx ./tools/build/rewrite-dist-relative-imports.ts",
|
|
27
30
|
"vectors:threshold": "tsx ./tools/generate-threshold-vectors.ts",
|
|
28
31
|
"vectors:protocol": "tsx ./tools/generate-protocol-vectors.ts",
|