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"
},
"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 --fix",
"lint:ci": "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": "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"
"@polkadot/api": "^9.9.1",
"@polkadot/util-crypto": "^10.1.13",
"@substrate/calc": "^0.3.0",
},
"devDependencies": {
"@types/express": "4.17.14",
"@types/http-errors": "1.8.2",
"@types/lru-cache": "^7.10.10",
},
"keywords": [
"substrate",
"api",
"sidecar",
"polkadot",
"kusama"