forked from privy-io/shamir-secret-sharing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.48 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
{
"name": "shamir-secret-sharing",
"version": "0.0.3",
"description": "Simple, independently audited, zero-dependency TypeScript implementation of Shamir's Secret Sharing algorithm",
"keywords": [
"shamir",
"secret",
"sharing",
"threshold",
"cryptography",
"crypto",
"keys",
"mnemonic",
"typescript",
"node",
"browser",
"web3"
],
"browser": {
"node:crypto": false
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./esm/index.js",
"default": "./index.js"
},
"./csprng": {
"types": "./csprng.d.ts",
"node": {
"import": "./esm/csprng.node.js",
"require": "./csprng.node.js"
},
"import": "./esm/csprng.js",
"require": "./csprng.js"
}
},
"files": [
"/*.js",
"/*.js.map",
"/*.d.ts",
"esm",
"src"
],
"scripts": {
"clean": "rm *.{js,d.ts,js.map} esm/*.{js,d.ts,js.map} 2> /dev/null; echo clean",
"prebuild": "npm run clean",
"build": "tsc && tsc -p tsconfig.esm.json",
"lint": "prettier --check 'src/**/*.ts' 'test/**/*.js'",
"pretest": "npm run build",
"test": "jest --testMatch \"**/test/**/*.test.js\"",
"prepublishOnly": "npm run build"
},
"author": "privy.io",
"repository": {
"type": "git",
"url": "https://github.com/privy-io/shamir-secret-sharing"
},
"license": "Apache-2.0",
"devDependencies": {
"jest": "^29.5.0",
"prettier": "^2.8.3",
"typescript": "^4.9.4"
}
}