-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.66 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
{
"name": "@awasm/noble",
"version": "0.1.4",
"description": "Auditable WASM implementation of cryptographic hashes & ciphers",
"files": [
"src",
"modules",
"targets",
"*.js",
"*.d.ts",
"*.d.ts.map"
],
"devDependencies": {
"@awasm/compiler": "file:../awasm-compiler",
"@noble/ciphers": "~2.2.0",
"@noble/hashes": "~2.2.0",
"@paulmillr/jsbt": "0.6.0",
"@scure/base": "2.2.0",
"@types/node": "25.9.0",
"fast-check": "4.2.0",
"prettier": "3.6.2",
"typescript": "6.0.2"
},
"peerDependencies": {
"@awasm/compiler": "0.1.3",
"@noble/ciphers": "~2.2.0",
"@noble/hashes": "~2.2.0"
},
"peerDependenciesMeta": {
"@awasm/compiler": {
"optional": true
},
"@noble/ciphers": {
"optional": true
},
"@noble/hashes": {
"optional": true
}
},
"scripts": {
"benchmark": "node benchmark/1-hashes-ciphers.ts; node benchmark/2-parallel.ts",
"build": "npm run build:targets && tsc && npm run format",
"build:targets": "node scripts/build-targets.ts",
"build:clean": "rm -rf src/targets targets modules *.js *.js.map *.d.ts *.d.ts.map 2> /dev/null",
"check": "npx --no @paulmillr/jsbt check",
"format": "prettier --write --no-error-on-unmatched-pattern '*.js' '*.d.ts' 'src/**/*.{js,ts}' 'modules/**/*.{js,ts}' 'targets/**/*.{js,ts}' 'test/*.ts' 'test/ciphers/*.ts' 'test/hashes/*.ts'",
"test": "node --no-warnings test/index.ts",
"test:slow": "node test/slow.ts",
"test:zeroize": "CHECK_ZEROIZE=1 node test/index.ts"
},
"exports": {
".": "./index.js",
"./js.js": "./js.js",
"./noble.js": "./noble.js",
"./wasm.js": "./wasm.js",
"./wasm_threads.js": "./wasm_threads.js",
"./runtime.js": "./runtime.js",
"./stub.js": "./stub.js",
"./kdf.js": "./kdf.js",
"./hmac.js": "./hmac.js",
"./hkdf.js": "./hkdf.js",
"./workers.js": "./workers.js",
"./utils.js": "./utils.js",
"./webcrypto.js": "./webcrypto.js"
},
"engines": {
"node": ">= 22.22.0"
},
"keywords": [
"wasm",
"awasm",
"cryptography",
"sha",
"sha2",
"sha3",
"blake",
"blake3",
"pbkdf2",
"scrypt",
"sha256",
"salsa20",
"chacha",
"aes",
"keccak",
"kdf",
"hash",
"security",
"noble"
],
"homepage": "https://paulmillr.com/awasm/",
"funding": "https://paulmillr.com/funding/",
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/awasm-noble.git"
},
"type": "module",
"main": "./index.js",
"module": "./index.js",
"types": "./index.d.ts",
"sideEffects": false,
"author": "Paul Miller (https://paulmillr.com)",
"license": "MIT"
}