Newer
Older
"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": {
},
"bugs": {
"url": "https://github.com/paritytech/substrate-api-sidecar/issues"
},
"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",
Zeke Mostov
committed
"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"
"@polkadot/api": "^13.1.1",
"@polkadot/api-contract": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"@substrate/calc": "^0.3.1",
"express-winston": "^4.2.0",
"http-errors": "^2.0.0",
"prom-client": "^15.1.3",
"winston-loki": "^6.1.2"
},
"devDependencies": {
"@substrate/dev": "^0.7.1",
"@types/argparse": "2.0.16",
"@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]"