-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
93 lines (93 loc) · 3.32 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
91
92
93
{
"name": "@chainsafe/blst",
"version": "1.1.0",
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"scripts": {
"install": "ts-node scripts/install",
"clean": "npm run clean:dist && npm run clean:prebuild && npm run clean:gyp",
"clean:dist": "rm -rf dist",
"clean:gyp": "node-gyp clean && node-gyp configure",
"clean:prebuild": "rm -rf prebuild",
"build": "yarn build:gyp && yarn build:ts",
"build:gyp": "node-gyp build",
"build:gyp:debug": "node-gyp build --debug",
"build:ts:cjs": "tsc --project tsconfig.cjs.json",
"build:ts:esm": "tsc --project tsconfig.esm.json",
"build:ts": "yarn build:ts:cjs && yarn build:ts:esm",
"postbuild:ts": "ts-node scripts/prepareDist",
"build:fuzz": "tsc --project tsconfig.fuzz.json",
"build:clean": "npm run clean && npm run install && npm run build:ts",
"dev": "ts-node scripts/dev",
"lint": "npm run lint:c && npm run lint:ts",
"lint:c": "clang-format -i src/*.cc src/*.h",
"lint:ts": "eslint --color --ext .js,.mjs,.cjs,.ts lib/ scripts/ test/ utils/",
"test": "yarn test:unit && yarn test:spec && yarn test:perf && yarn test:memory",
"test:fuzz": "ts-node test/fuzz/fuzz.test.ts",
"test:memory": "node -r ts-node/register --expose-gc test/memory/memory.test.ts",
"test:perf": "UV_THREADPOOL_SIZE=$(node -e 'console.log(require(`os`).availableParallelism())') NODE_OPTIONS='--loader=ts-node/esm' ts-node-esm node_modules/.bin/benchmark --config .benchrc.yaml test/perf/*.test.ts",
"test:spec": "mocha test/spec/**/*.test.ts",
"test:unit": "mocha test/unit/**/*.test.ts",
"download-spec-tests": "node -r ts-node/register test/spec/downloadTests.ts"
},
"dependencies": {
"node-addon-api": "^6.1.0",
"node-gyp": "^10.0.1",
"ts-node": "^10.9.2"
},
"devDependencies": {
"@dapplion/benchmark": "^0.2.4",
"@types/chai": "^4.2.13",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^8.0.3",
"@types/node": "^20.10.4",
"@types/tar": "^6.1.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"chai": "^4.2.0",
"eslint": "^8.55.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
"js-yaml": "^4.1.0",
"mocha": "^8.1.3",
"prettier": "^3.1.1",
"tar": "^6.1.14",
"typescript": "^5.2.2"
},
"main": "./dist/cjs/lib/index.cjs",
"types": "./dist/cjs/lib/index.d.cts",
"module": "./dist/esm/lib/index.mjs",
"exports": {
"require": "./dist/cjs/lib/index.cjs",
"import": "./dist/esm/lib/index.mjs",
"default": "./dist/cjs/lib/index.cjs",
"types": "./dist/cjs/lib/index.d.cts"
},
"files": [
"blst/bindings/blst_aux.h",
"blst/bindings/blst.h",
"blst/bindings/blst.hpp",
"blst/build",
"blst/src",
"dist",
"prebuild",
"scripts/install.ts",
"src",
"utils",
"binding.gyp",
"LICENSE",
"package.json",
"tsconfig.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/blst-ts.git"
},
"keywords": [],
"author": "ChainSafe Systems",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ChainSafe/blst-ts/issues"
},
"homepage": "https://github.com/ChainSafe/blst-ts#readme"
}