forked from paritytech/substrate-api-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
102 lines (102 loc) · 3.74 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
97
98
99
100
101
102
{
"version": "11.3.12",
"name": "@substrate/api-sidecar",
"description": "REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.",
"homepage": "https://github.com/paritytech/substrate-api-sidecar#readme",
"author": "Parity Technologies <[email protected]>",
"license": "GPL-3.0-or-later",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"bin": {
"substrate-api-sidecar": "./build/src/main.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/paritytech/substrate-api-sidecar.git"
},
"engines": {
"node": ">=14"
},
"bugs": {
"url": "https://github.com/paritytech/substrate-api-sidecar/issues"
},
"scripts": {
"build": "substrate-exec-rimraf build/ && substrate-exec-tsc && echo Build Finished",
"build:calc": "bash ./calc/build.sh",
"build:docker": "docker build -t substrate-api-sidecar .",
"build:docs": "(cd docs && yarn && yarn build)",
"main": "node ./build/src/main.js",
"lint": "substrate-dev-run-lint --fix",
"lint:ci": "substrate-dev-run-lint",
"deploy": "yarn build && npm publish",
"start": "yarn run main",
"start:log-rpc": "yarn run build && NODE_ENV=test yarn run main ",
"dev": "tsc-watch --onSuccess \"yarn run main\"",
"test": "substrate-exec-jest",
"test:watch": "substrate-exec-jest --watch",
"test:cov": "substrate-exec-jest --coverage",
"lint:e2e-tests": "cd e2e-tests && substrate-dev-run-lint",
"build:e2e-tests": "(cd e2e-tests && substrate-exec-tsc)",
"test:e2e-tests": "yarn build:e2e-tests && node ./e2e-tests/build/index.js --config=./e2e-tests/jest.config.js",
"test:init-e2e-tests": "yarn start:e2e-scripts --log-level=http",
"test:init-e2e-tests:polkadot": "yarn test:init-e2e-tests --chain polkadot",
"test:init-e2e-tests:kusama": "yarn test:init-e2e-tests --chain kusama",
"test:init-e2e-tests:westend": "yarn test:init-e2e-tests --chain westend",
"test:init-e2e-tests:statemine": "yarn test:init-e2e-tests --chain statemine",
"test:init-e2e-tests:statemint": "yarn test:init-e2e-tests --chain statemint",
"start:e2e-scripts": "yarn build:scripts && node scripts/build/runChainTests.js",
"build:scripts": "substrate-exec-rimraf scripts/build/ && cd scripts && substrate-exec-tsc",
"lint:scripts": "cd scripts && substrate-dev-run-lint",
"start:test-release": "yarn build:scripts && node scripts/build/runYarnPack.js",
"test:test-release": "yarn start:test-release"
},
"dependencies": {
"@polkadot/api": "^7.10.1",
"@polkadot/apps-config": "^0.107.1",
"@polkadot/util-crypto": "^8.4.1",
"@substrate/calc": "^0.2.8",
"argparse": "^2.0.1",
"confmgr": "1.0.7",
"express": "^4.17.1",
"express-winston": "^4.1.0",
"http-errors": "^1.8.1",
"lru-cache": "^6.0.0",
"rxjs": "^7.5.2",
"winston": "^3.3.3"
},
"devDependencies": {
"@substrate/dev": "^0.5.7",
"@types/argparse": "2.0.10",
"@types/express": "4.17.13",
"@types/express-serve-static-core": "4.17.25",
"@types/http-errors": "1.8.1",
"@types/lru-cache": "^5.1.1",
"@types/morgan": "1.9.3",
"@types/triple-beam": "^1.3.2",
"tsc-watch": "^4.4.0"
},
"resolutions": {
"@polkadot/api": "7.10.1",
"@polkadot/keyring": "8.4.1",
"@polkadot/networks": "8.4.1",
"@polkadot/types": "7.10.1",
"@polkadot/types-known": "7.10.1",
"@polkadot/util": "8.4.1",
"@polkadot/util-crypto": "8.4.1",
"@polkadot/wasm-crypto": "4.5.1",
"bn.js": "5.2.0",
"node-fetch": "2.6.7",
"prismjs": ">=1.23.0",
"typescript": "4.4.3"
},
"keywords": [
"substrate",
"api",
"sidecar",
"polkadot",
"kusama"
],
"packageManager": "[email protected]"
}