Skip to content
package.json 4.3 KiB
Newer Older
Maciej Hirsz's avatar
Maciej Hirsz committed
{
  "version": "11.3.16",
  "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 --fix",
    "lint:ci": "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": "NODE_ENV=test substrate-exec-jest --detectOpenHandles",
    "test:watch": "substrate-exec-jest --watch",
    "test:cov": "NODE_ENV=test substrate-exec-jest --detectOpenHandles --coverage",
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 --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",
Tarik Gul's avatar
Tarik Gul committed
    "build:scripts": "substrate-exec-rimraf scripts/build/ && cd scripts && substrate-exec-tsc",
    "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"
Maciej Hirsz's avatar
Maciej Hirsz committed
  },
  "dependencies": {
Maciej Hirsz's avatar
Maciej Hirsz committed
  "resolutions": {
    "@polkadot/api": "8.0.2",
    "@polkadot/api-augment": "8.0.2",
    "@polkadot/api-base": "8.0.2",
    "@polkadot/api-derive": "8.0.2",
    "@polkadot/rpc-core": "8.0.2",
    "@polkadot/rpc-augment": "8.0.2",
    "@polkadot/rpc-provider": "8.0.2",
    "@polkadot/types": "8.0.2",
    "@polkadot/types-augment": "8.0.2",
    "@polkadot/types-codec": "8.0.2",
    "@polkadot/types-create": "8.0.2",
    "@polkadot/types-support": "8.0.2",
    "@polkadot/types-known": "8.0.2",
    "@polkadot/keyring": "9.0.1",
    "@polkadot/networks": "9.0.1",
    "@polkadot/util": "9.0.1",
    "@polkadot/util-crypto": "9.0.1",
    "@polkadot/x-fetch": "9.0.1",
    "@polkadot/x-global": "9.0.1",
    "@polkadot/x-bigint": "9.0.1",
    "@polkadot/x-ws": "9.0.1",
    "@polkadot/wasm-crypto": "6.0.1",
    "bn.js": "5.2.0",
Tarik Gul's avatar
Tarik Gul committed
    "node-fetch": "2.6.7",
    "prismjs": ">=1.23.0",
    "typescript": "4.4.3"
  "keywords": [
    "substrate",
    "api",
    "sidecar",
    "polkadot",
    "kusama"
Tarik Gul's avatar
Tarik Gul committed
  ],
Tarik Gul's avatar
Tarik Gul committed
  "packageManager": "[email protected]"
Maciej Hirsz's avatar
Maciej Hirsz committed
}