-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
89 lines (89 loc) · 3.15 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
{
"name": "@mattrglobal/node-bbs-signatures",
"version": "0.20.0",
"description": "An implementation of BBS+ signatures using rust and typescript for node.js",
"homepage": "https://github.com/mattrglobal/node-bbs-signatures",
"main": "lib/index.js",
"engines": {
"node": ">=18",
"yarn": "1.x"
},
"directories": {
"lib": "lib",
"native": "native"
},
"files": [
"lib",
"native/index.node"
],
"typings": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/mattrglobal/node-bbs-signatures.git"
},
"binary": {
"module_name": "index",
"host": "https://github.com/mattrglobal/node-bbs-signatures/releases/download/",
"remote_path": "{version}",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz",
"module_path": "./native"
},
"scripts": {
"test": "jest",
"test_vectors": "ts-node ./test_vectors/index.ts",
"benchmark": "ts-node ./bench/index.ts",
"benchmark:stress": "ts-node ./bench/stress.ts",
"build": "yarn build:neon && yarn build:ts",
"build:ts": "tsc --pretty",
"build:neon": "cargo-cp-artifact -nc ./native/index.node -- cargo build --manifest-path ./native/Cargo.toml --message-format=json-render-diagnostics --release",
"package": "node-pre-gyp package",
"clean": "rimraf lib/ && rimraf native/index.node && rimraf native/target && cargo clean --manifest-path ./native/Cargo.toml",
"format": "prettier --write \"**/*.ts\" \"**/*.md\" \"!**/lib/**\"",
"lint": "eslint . --ext .ts --color --format=table",
"lint:fix": "yarn lint --fix",
"pre-pr": "yarn clean && yarn format && yarn lint:fix && yarn build && yarn test",
"publish:unstable:ts": "./scripts/publish_unstable_ts.sh",
"publish:binary": "./scripts/publish_binary.sh",
"publish:ts": "./scripts/publish_ts.sh",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"version:release": "yarn version --minor --message \"chore(release): publish\"",
"docs": "typedoc --out docs/api src",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@mathquis/node-pre-gyp-github": "1.0.2",
"@stablelib/base64": "1.0.0",
"@stablelib/benchmark": "1.0.0",
"@stablelib/random": "1.0.0",
"@types/jest": "29.5.13",
"@types/node": "12.7.2",
"@typescript-eslint/eslint-plugin": "2.28.0",
"@typescript-eslint/parser": "2.28.0",
"cargo-cp-artifact": "0.1.9",
"conventional-changelog": "3.1.25",
"conventional-changelog-cli": "2.2.2",
"copyfiles": "2.2.0",
"eslint": "6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "8.0.1",
"jest": "29.7.0",
"prettier": "2.0.4",
"pretty-quick": "2.0.1",
"rimraf": "3.0.2",
"ts-jest": "29.2.5",
"ts-node": "8.4.1",
"typedoc": "0.22.17",
"typescript": "4.3.3"
},
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.11"
},
"resolutions": {
"conventional-changelog-cli/**/minimist": "1.2.6",
"conventional-changelog/**/minimist": "1.2.6"
}
}