{ "version": "12.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 ", "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": "NODE_ENV=test substrate-exec-jest --detectOpenHandles", "test:watch": "NODE_ENV=test substrate-exec-jest --watch", "lint:e2e-tests": "cd e2e-tests && substrate-dev-run-lint", "build:e2e-tests": "substrate-exec-tsc --project e2e-tests/tsconfig.json", "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/ && substrate-exec-tsc --project scripts/tsconfig.json", "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", "update-pjs-deps": "substrate-update-pjs-deps && yarn" }, "dependencies": { "@polkadot/api": "^8.12.2", "@polkadot/util-crypto": "^10.0.2", "@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.5", "winston": "^3.3.3" }, "devDependencies": { "@substrate/dev": "^0.6.3", "@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": { "node-fetch": "2.6.7", "prismjs": ">=1.23.0", "typescript": "4.4.3" }, "keywords": [ "substrate", "api", "sidecar", "polkadot", "kusama" ], "packageManager": "yarn@3.2.1" }