-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.53 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.53 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
{
"name": "drand-client",
"version": "1.4.2",
"description": "A client to the drand randomness beacon network.",
"source": "lib/index.ts",
"main": "./build/cjs/index.cjs",
"module": "./build/esm/index.mjs",
"types": "./build/index.d.ts",
"exports": {
".": {
"require": {
"types": "./build/index.d.ts",
"default": "./build/cjs/index.cjs"
},
"import": {
"types": "./build/index.d.ts",
"default": "./build/esm/index.mjs"
}
}
},
"files": [
"build",
"lib",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf ./build/* && rm -rf lib/version.ts",
"build": "npm run build:precompile && npm run build:esm && npm run build:cjs && npm run build:types",
"build:precompile": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > lib/version.ts",
"build:esm": "esbuild lib/index.ts --bundle --platform=browser --format=esm --outdir=build/esm --sourcemap --target=es2020 --out-extension:.js=.mjs",
"build:cjs": "esbuild lib/index.ts --bundle --platform=node --format=cjs --outdir=build/cjs --sourcemap --target=es2020 --out-extension:.js=.cjs",
"build:types": "tsc --emitDeclarationOnly --outDir build",
"publish:github": "npm publish --registry https://npm.pkg.github.com",
"test": "jest --verbose ./test/**.test.ts",
"lint": "eslint ./{lib,test}/*.ts",
"lint:fix": "eslint ./{lib,test}/*.ts --fix"
},
"author": "Alan Shaw",
"license": "(Apache-2.0 OR MIT)",
"devDependencies": {
"@types/isomorphic-fetch": "^0.0.39",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"abort-controller": "^3.0.0",
"esbuild": "^0.25.1",
"eslint": "^8.45.0",
"jest": "^29.6.1",
"jest-fetch-mock": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"typescript-eslint": "^0.0.1-alpha.0"
},
"dependencies": {
"@kevincharm/noble-bn254-drand": "^0.0.1",
"@noble/curves": "^1.6.0",
"buffer": "^6.0.3",
"isomorphic-fetch": "^3.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/drand/drand-client.git"
},
"bugs": {
"url": "https://github.com/drand/drand-client/issues"
},
"homepage": "https://github.com/drand/drand-client#readme",
"engines": {
"node": ">= 10.4.0"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"keywords": [
"drand",
"random",
"randomness",
"client",
"bls",
"bls12381",
"bls12-381"
]
}