-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
75 lines (75 loc) · 1.97 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
{
"name": "@babylonlabs-io/btc-staking-ts",
"version": "0.4.0-canary.4",
"description": "Library exposing methods for the creation and consumption of Bitcoin transactions pertaining to Babylon's Bitcoin Staking protocol.",
"module": "dist/index.js",
"main": "dist/index.cjs",
"typings": "dist/index.d.ts",
"type": "module",
"scripts": {
"generate-types": "dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts",
"build": "node build.js && npm run generate-types",
"format": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"lint": "eslint ./src --fix",
"prepare": "husky",
"prepublishOnly": "npm run build",
"test": "jest --verbose",
"version:canary": "npm version prerelease --preid=canary"
},
"files": [
"dist/*"
],
"keywords": [
"bitcoin",
"staking",
"babylon",
"btc-staking"
],
"engines": {
"node": "22.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"eslint --fix"
],
"tests/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"author": "Babylon Labs Ltd.",
"license": "SEE LICENSE IN LICENSE",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@typescript-eslint/parser": "^7.4.0",
"dts-bundle-generator": "^9.3.1",
"ecpair": "^2.1.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5",
"typescript-eslint": "^7.4.0"
},
"dependencies": {
"@bitcoin-js/tiny-secp256k1-asmjs": "2.2.3",
"bitcoinjs-lib": "6.1.5"
},
"publishConfig": {
"access": "public"
}
}