-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
90 lines (90 loc) · 3.42 KB
/
package.json
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
{
"name": "@cloudflare/voprf-ts",
"version": "1.0.0",
"description": "voprf-ts: A TypeScript Library for Oblivious Pseudorandom Functions (OPRF)",
"author": "Armando Faz <armfazh@cloudflare.com>",
"maintainers": [
"Armando Faz <armfazh@cloudflare.com>"
],
"contributors": [
"Nicholas Dudfield <ndudfield@gmail.com>"
],
"license": "BSD-3-Clause",
"private": false,
"main": "./lib/cjs/src/index.js",
"module": "./lib/esm/src/index.js",
"types": "./lib/esm/src/index.d.ts",
"exports": {
".": {
"default": "./lib/cjs/src/index.js",
"require": "./lib/cjs/src/index.js",
"import": "./lib/esm/src/index.js"
},
"./crypto-noble": {
"default": "./lib/cjs/src/cryptoNoble.js",
"require": "./lib/cjs/src/cryptoNoble.js",
"import": "./lib/esm/src/cryptoNoble.js"
},
"./facade": {
"default": "./lib/cjs/src/facade/index.js",
"require": "./lib/cjs/src/facade/index.js",
"import": "./lib/esm/src/facade/index.js"
}
},
"files": [
"lib/**/src/**/!(*.tsbuildinfo)",
"webcrypto.md"
],
"keywords": [
"oprf",
"voprf",
"poprf",
"crypto",
"cryptography"
],
"homepage": "https://github.com/cloudflare/voprf-ts#readme",
"repository": "github:cloudflare/voprf-ts",
"engines": {
"node": ">=20"
},
"devDependencies": {
"@eslint/js": "9.9.1",
"@noble/curves": "1.5.0",
"@noble/hashes": "1.4.0",
"@types/benchmark": "2.1.5",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.12",
"benchmark": "2.1.4",
"eslint": "9.9.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.8.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-security": "3.0.1",
"jest": "29.7.0",
"prettier": "3.3.3",
"sjcl": "1.0.8",
"typescript": "5.5.4",
"typescript-eslint": "8.3.0"
},
"scripts": {
"prepack": "tsc -b . tsconfig.cjs.json",
"prepare": "tsc -b . tsconfig.cjs.json",
"build": "tsc -b . tsconfig.cjs.json",
"build:others": "tsc -b bench examples",
"clean": "tsc -b --clean . test ./tsconfig.cjs.json test/tsconfig.cjs.json bench examples",
"test": "npm run test:esm && npm run test:cjs",
"test:esm": "npm run test:build && node --experimental-vm-modules node_modules/.bin/jest --ci --selectProjects esm --coverageDirectory coverage/esm",
"test:cjs": "npm run test:build && node node_modules/.bin/jest --ci --selectProjects cjs --coverageDirectory coverage/cjs",
"test:build": "tsc -b test test/tsconfig.cjs.json",
"examples": "tsc -b examples && node --experimental-vm-modules ./lib/esm/examples/index.js",
"examples:facade": "tsc -b examples && node --experimental-vm-modules ./lib/esm/examples/facade/index.js",
"lint": "eslint .",
"bench": "tsc -b bench && node --experimental-vm-modules ./lib/esm/bench/index.js",
"format": "prettier './(src|test|bench|examples)/**/!(*.d).ts' --write",
"format:json": "prettier './**/*.json' '!./node_modules/**' '!./package-lock.json' '!./test/testdata/allVectors_v20.json' --write"
},
"optionalDependencies": {
"@noble/curves": "1.5.0",
"@noble/hashes": "1.4.0"
}
}