-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
96 lines (96 loc) · 3.68 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
94
95
96
{
"name": "@cardano-foundation/ledgerjs-hw-app-cardano",
"version": "7.1.3",
"files": [
"dist"
],
"types": "./dist/Ada.d.ts",
"description": "Ledger Hardware Wallet Cardano ADA API",
"main": "dist/Ada.js",
"repository": "github:cardano-foundation/ledgerjs-hw-app-cardano",
"keywords": [
"Ledger",
"LedgerWallet",
"ADA",
"Cardano",
"SL",
"NanoS",
"Hardware",
"Wallet"
],
"author": "VacuumLabs <adalite@vacuumlabs.com>",
"license": "Apache-2.0",
"dependencies": {
"@ledgerhq/hw-transport": "^6.27.10",
"base-x": "^3.0.5",
"bech32": "^1.1.4",
"int64-buffer": "^1.0.1"
},
"devDependencies": {
"@ledgerhq/hw-transport-node-hid": "^6.27.10",
"@ledgerhq/hw-transport-node-speculos": "^6.27.10",
"@types/blake2": "^4.0.1",
"@types/chai": "^4.2.15",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^10.0.0",
"@types/node": "^18.12.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"blake2": "^4.0.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chalk": "^4.0.0",
"cspell": "^6.10.1",
"eslint": "^8.27.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",
"flow-bin": "^0.195.0",
"flowgen": "^1.21.0",
"gh-pages": "^5.0.0",
"mocha": "^10.2.0",
"prettier": "^2.6.2",
"sinon": "^14.0.0",
"ts-mock-imports": "^1.3.7",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
},
"bugs": {
"url": "https://github.com/cardano-foundation/ledgerjs-hw-app-cardano/issues"
},
"homepage": "https://github.com/cardano-foundation/ledgerjs-hw-app-cardano",
"scripts": {
"clean": "rm -rf dist/",
"lint": "eslint src/ test/ example-node/ --max-warnings=0 --ext .ts,.js",
"prettier:check": "prettier --check .",
"prettier": "prettier --write .",
"spell:check": "yarn cspell lint --gitignore '**' 2>/dev/null",
"build": "yarn tsc -p src/tsconfig.json --removeComments",
"build-with-comments": "yarn tsc -p src/tsconfig.json",
"build:flowtypes": "yarn build-with-comments && find . -type f -not -path './node_modules/*' -not -path './example-node/*' -name '*.d.ts' -exec sh -c 'yarn flowgen --add-flow-header --no-inexact $1 -o ${1%.*.*}.js.flow' _ '{}' \\;",
"flow": "flow --show-all-errors dist/",
"gen-docs": "yarn typedoc",
"prepack": "yarn build:flowtypes && yarn flow && yarn build",
"prepublish": "yarn run clean && yarn run build",
"run-example": "yarn ts-node -P example-node/tsconfig.json example-node/index.ts",
"run-example-speculos": "LEDGER_TRANSPORT=speculos yarn ts-node -P example-node/tsconfig.json example-node/index.ts",
"device-self-test": "mocha --timeout 3600000 -r ts-node/register test/device-self-test/**/*.test.ts",
"device-self-test-speculos": "LEDGER_TRANSPORT=speculos yarn device-self-test",
"test-all": "yarn device-self-test && yarn test-integration",
"test-integration": "yarn mocha --timeout 3600000 -r ts-node/register test/integration/**/*.test.ts",
"test-speculos": "LEDGER_TRANSPORT=speculos yarn test-integration",
"test-unit": "yarn mocha -r ts-node/register test/unit/**/*.test.ts",
"//": "run single test by specifying --grep <name> parameter in test-integration"
},
"resolutions": {
"chalk/ansi-regex": "<6.0.6",
"prettier-eslint/**/ansi-regex": "<6.0.0",
"eslint/**/ansi-regex": "<6.0.0",
"@ledgerhq/hw-transport-node-hid/**/ansi-regex": "<6.0.0",
"mocha/**/ansi-regex": "<6.0.0",
"mocha/**/minimatch": "^3.1.2"
}
}