Skip to content
package.json 3.6 KiB
Newer Older
Maciej Hirsz's avatar
Maciej Hirsz committed
{
Tarik Gul's avatar
Tarik Gul committed
  "version": "11.3.9",
  "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 --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": "7.7.1",
    "@polkadot/keyring": "8.3.3",
    "@polkadot/networks": "8.3.3",
    "@polkadot/types": "7.7.1",
    "@polkadot/types-known": "7.7.1",
    "@polkadot/util": "8.3.3",
    "@polkadot/util-crypto": "8.3.3",
    "@polkadot/wasm-crypto": "4.5.1",
    "bn.js": "4.12.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
  ],
David's avatar
David committed
  "packageManager": "[email protected]"
Maciej Hirsz's avatar
Maciej Hirsz committed
}