-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
89 lines (89 loc) · 3.78 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": "cardano-hw-cli",
"version": "1.16.0-rc.1",
"commit": "2706bbbd672f8318dcd2ee95682259f3537590b1",
"description": "Cardano CLI tool for hardware wallets",
"author": "Vacuumlabs",
"homepage": "https://github.com/vacuumlabs/cardano-hw-cli#readme",
"main": "src/index.ts",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/vacuumlabs/cardano-hw-cli.git"
},
"bugs": {
"url": "https://github.com/vacuumlabs/cardano-hw-cli/issues"
},
"scripts": {
"build": "./scripts/build-all.sh",
"build-linux-deb": "./scripts/build-common.sh && ./scripts/build-linux-deb-package.sh",
"build-linux-tar": "./scripts/build-common.sh && ./scripts/build-linux-x64-tar-gz.sh",
"build-linux-tar-arm64": "./scripts/build-common.sh && ./scripts/build-linux-arm64-tar-gz.sh",
"build-windows": "./scripts/build-common.sh && ./scripts/build-windows.sh",
"build-macos": "./scripts/build-common.sh && ./scripts/build-macos.sh",
"build-js": "tsc -p src/tsconfig.json",
"dev": "yarn build-js && node dist/index.js",
"lint": "eslint src/ test/ --max-warnings=0 --ext .ts,.js",
"prettier:check": "prettier --check .",
"prettier": "prettier --write .",
"spell:check": "yarn cspell lint --gitignore '**' 2>/dev/null",
"test-unit": "mocha -r ts-node/register 'test/unit/**/*.ts'",
"test-bin": "yarn build && ./build/linux/archive-x64/cardano-hw-cli/cardano-hw-cli --help",
"test-integration-ledger": "mocha -r ts-node/register 'test/integration/ledger/node/**/*.ts' --exit",
"test-integration-ledger-speculos": "LEDGER_TRANSPORT=speculos yarn test-integration-ledger",
"test-integration-trezor": "mocha -r ts-node/register 'test/integration/trezor/node/**/*.ts' --exit",
"clean": "rm -rf ./dist && rm -rf ./node_modules",
"pkg": "pkg"
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "https://github.com/vacuumlabs/ledgerjs-cardano-shelley/releases/download/v7.1.1/cardano-foundation-ledgerjs-hw-app-cardano-v7.1.1.tgz",
"@emurgo/cardano-serialization-lib-nodejs": "^8.0.0",
"@ledgerhq/hw-transport": "^6.27.10",
"@ledgerhq/hw-transport-node-hid-noevents": "^6.24.1",
"@trezor/connect": "https://github.com/vacuumlabs/trezor-suite/releases/download/cardano-message-signing-rc2/trezor-connect-message-signing-rc2.tgz",
"argparse": "^2.0.1",
"bignumber": "^1.1.0",
"cardano-crypto.js": "^6.1.2",
"cardano-hw-interop-lib": "^3.0.1",
"cbor": "^8.1.0",
"lodash": "^4.17.21",
"rw": "1.3.3"
},
"devDependencies": {
"@ledgerhq/hw-transport-node-speculos": "^6.27.10",
"@types/argparse": "^2.0.10",
"@types/mocha": "^10.0.0",
"@types/node": "^18.12.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"cspell": "^6.10.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-vacuumlabs": "^8.0.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"mocha": "^10.2.0",
"pkg": "^5.8.0",
"prettier": "^2.6.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"pkg": {
"assets": [
"package.json",
"node_modules/usb/prebuilds/**/*"
]
},
"engines": {
"node": "18.7.0",
"npm": ">=6.x",
"yarn": "^1.21.3"
},
"resolutions": {
"//": "This is a workaround for pkg (otherwise, it prints an error when building)",
"node-abi": "^3.24.0",
"@trezor/protobuf": "https://github.com/vacuumlabs/trezor-suite/releases/download/cardano-message-signing-rc2/trezor-protobuf-message-signing-rc2.tgz",
"@trezor/transport": "https://github.com/vacuumlabs/trezor-suite/releases/download/cardano-message-signing-rc2/trezor-transport-message-signing-rc2.tgz"
}
}