-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 1.84 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
{
"name": "ledger-polkadot-generic-api",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Zondax AG",
"scripts": {
"build": "yarn run build:rust && tsc",
"build:rust": "cd rust && yarn cargo-cp-artifact -ac get-metadata index.node -- cargo build --release --message-format=json-render-diagnostics",
"build:node": "tsc",
"clean": "yarn run clean:rust && rimraf dist",
"clean:rust": "cd rust && cargo clean && rm index.node",
"format": "prettier -w .",
"lint": "eslint --max-warnings=0 --ext .js,.ts src",
"lint:fix": "yarn run lint --fix",
"start": "yarn run build:rust && ts-node src/index.ts",
"test": "jest",
"docker": "yarn docker:build && yarn docker:run",
"docker:build": "earthly --ci +all",
"docker:run": "docker run -it ledger-polkadot-generic-api"
},
"dependencies": {
"@noble/hashes": "1.4.0",
"@polkadot/api": "10.11.2",
"@scure/base": "1.1.6",
"body-parser": "^1.20.2",
"express": "^4.19.2",
"scale-ts": "1.6.0",
"yaml": "^2.4.1"
},
"devDependencies": {
"@polkadot/types": "^10.11.2",
"@types/body-parser": "^1",
"@types/express": "^4",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^7.9.0",
"axios": "^1.6.8",
"cargo-cp-artifact": "^0.1.8",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-unused-imports": "^3.1.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "5.2.2"
},
"packageManager": "[email protected]"
}