{
  "version": "18.0.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 <admin@parity.io>",
  "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": "^10.12.4",
    "@polkadot/api-contract": "^10.12.4",
    "@polkadot/util-crypto": "^12.6.2",
    "@substrate/calc": "^0.3.1",
    "argparse": "^2.0.1",
    "confmgr": "^1.0.10",
    "express": "^4.18.3",
    "express-winston": "^4.2.0",
    "http-errors": "^2.0.0",
    "lru-cache": "^10.2.0",
    "prom-client": "^15.1.0",
    "rxjs": "^7.8.1",
    "winston": "^3.12.0"
  },
  "devDependencies": {
    "@substrate/dev": "^0.7.1",
    "@types/argparse": "2.0.15",
    "@types/express": "^4.17.21",
    "@types/express-serve-static-core": "^4.17.43",
    "@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": "yarn@4.1.0"
}
