forked from paritytech/substrate-api-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
91 lines (91 loc) · 3.55 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
{
"version": "19.3.0",
"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": ">=18.14"
},
"bugs": {
"url": "https://github.com/paritytech/substrate-api-sidecar/issues"
},
"scripts": {
"main": "node ./build/src/main.js",
"dev": "ts-node-dev --respawn --transpile-only ./src/main.ts",
"deploy": "yarn build && npm publish",
"inspect": "yarn build && node --inspect=127.0.0.1:8081 ./build/src/main.js",
"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)",
"build:scripts": "substrate-exec-rimraf scripts/build/ && substrate-exec-tsc --project scripts/tsconfig.json",
"build:e2e-tests": "substrate-exec-rimraf e2e-tests/build/ && substrate-exec-tsc --project e2e-tests/tsconfig.json",
"bench": "yarn build:scripts && node scripts/build/runBenchmarks.js",
"lint": "substrate-dev-run-lint",
"lint:fix": "substrate-dev-run-lint --fix",
"start": "yarn run main",
"start:log-rpc": "yarn run build && NODE_ENV=test yarn run main ",
"start:latest-e2e-tests": "yarn build:e2e-tests && node ./e2e-tests/build/latest/index.js",
"start:latest-e2e-scripts": "yarn build:scripts && node scripts/build/runLatestE2eTests.js",
"start:historical-e2e-tests": "yarn build:e2e-tests && node ./e2e-tests/build/historical/historical.js --config=./e2e-tests/jest.config.js",
"start:historical-e2e-scripts": "yarn build:scripts && node scripts/build/runHistoricalE2eTests.js",
"test": "NODE_ENV=test substrate-exec-jest",
"test:watch": "NODE_ENV=test substrate-exec-jest --watch",
"test:ci": "NODE_ENV=test substrate-exec-jest",
"test:latest-e2e-tests": "yarn start:latest-e2e-scripts",
"test:historical-e2e-tests": "yarn start:historical-e2e-scripts",
"test:test-release": "yarn build:scripts && node scripts/build/runYarnPack.js"
},
"dependencies": {
"@polkadot/api": "^14.3.1",
"@polkadot/api-augment": "^14.3.1",
"@polkadot/api-contract": "^14.3.1",
"@polkadot/types": "^14.3.1",
"@polkadot/types-codec": "^14.3.1",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@substrate/calc": "^0.3.1",
"argparse": "^2.0.1",
"confmgr": "^1.1.0",
"express": "^5.0.1",
"express-winston": "^4.2.0",
"http-errors": "^2.0.0",
"lru-cache": "^11.0.1",
"prom-client": "^15.1.3",
"rxjs": "^7.8.1",
"winston": "^3.17.0",
"winston-loki": "^6.1.3"
},
"devDependencies": {
"@substrate/dev": "^0.9.0",
"@types/argparse": "2.0.17",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.0",
"@types/http-errors": "2.0.4",
"@types/lru-cache": "^7.10.10",
"@types/morgan": "1.9.9",
"@types/triple-beam": "^1.3.5",
"ts-node-dev": "^2.0.0"
},
"keywords": [
"substrate",
"api",
"sidecar",
"polkadot",
"kusama"
],
"packageManager": "[email protected]"
}