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"
},
"files": [
"build"
],
"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)",
Zeke Mostov
committed
"main": "node ./build/src/main.js",
"lint": "substrate-dev-run-lint",
"deploy": "yarn build && npm publish",
Zeke Mostov
committed
"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 --silent",
"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",
"test:init-e2e-tests:polkadot": "yarn start:e2e-scripts --chain polkadot",
"test:init-e2e-tests:kusama": "yarn start:e2e-scripts --chain kusama",
"test:init-e2e-tests:westend": "yarn start:e2e-scripts --chain westend",
"start:e2e-scripts": "yarn build:scripts && node scripts/build/runChainTests.js",
"build:scripts": "cd scripts && substrate-exec-tsc",
"lint:scripts": "cd scripts && substrate-dev-run-lint"
"@polkadot/api": "^6.0.5",
"@polkadot/apps-config": "0.95.2-114",
"@polkadot/util-crypto": "^7.4.1",
"@substrate/calc": "^0.2.2",
"express-winston": "^4.1.0",
"http-errors": "^1.8.0",
},
"devDependencies": {
"@types/argparse": "2.0.10",
"@types/express": "4.17.13",
"@types/express-serve-static-core": "4.17.24",
"@types/http-errors": "1.8.1",
},
"@polkadot/api": "^6.0.5",
"@polkadot/api-contract": "^6.0.5",
"@polkadot/hw-ledger": "^7.4.1",
"@polkadot/keyring": "^7.4.1",
"@polkadot/networks": "^7.4.1",
"@polkadot/types": "^6.0.5",
"@polkadot/types-known": "^6.0.5",
"@polkadot/types-support": "^6.0.5",
"@polkadot/util": "^7.4.1",
"@polkadot/util-crypto": "^7.4.1",
"node-forge": ">=0.10.0",
"node-fetch": ">=2.6.1",
"prismjs": ">=1.23.0"
"keywords": [
"substrate",
"api",
"sidecar",
"polkadot",
"kusama"