Skip to content
package.json 3.29 KiB
Newer Older
Maciej Hirsz's avatar
Maciej Hirsz committed
{
  "version": "9.1.3",
  "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": {
    "node": ">=14"
Maciej Hirsz's avatar
Maciej Hirsz committed
  "scripts": {
    "build": "substrate-exec-rimraf build/ && substrate-exec-tsc && echo Build Finished",
    "build:calc": "bash ./calc/build.sh",
Zeke Mostov's avatar
Zeke Mostov committed
    "build:docker": "docker build -t substrate-api-sidecar .",
    "build:docs": "(cd docs && yarn && yarn build)",
    "lint": "substrate-dev-run-lint",
    "deploy": "yarn build && npm publish",
    "start:log-rpc": "yarn run build && NODE_ENV=test yarn run main ",
    "dev": "tsc-watch --onSuccess \"yarn run main\"",
    "test": "substrate-exec-jest --silent",
Tarik Gul's avatar
Tarik Gul committed
    "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"
Maciej Hirsz's avatar
Maciej Hirsz committed
  },
  "dependencies": {
Maciej Hirsz's avatar
Maciej Hirsz committed
  "resolutions": {
    "@polkadot/api": "^5.5.1",
    "@polkadot/api-contract": "^5.5.1",
    "@polkadot/hw-ledger": "^7.2.1",
    "@polkadot/keyring": "^7.2.1",
    "@polkadot/networks": "^7.2.1",
    "@polkadot/phishing": "^0.6.248",
    "@polkadot/types": "^5.5.1",
    "@polkadot/util": "^7.2.1",
    "@polkadot/util-crypto": "^7.2.1",
    "@polkadot/wasm-crypto": "^4.1.2",
    "node-forge": ">=0.10.0",
    "node-fetch": ">=2.6.1",
  "keywords": [
    "substrate",
    "api",
    "sidecar",
    "polkadot",
    "kusama"
  ]
Maciej Hirsz's avatar
Maciej Hirsz committed
}