Skip to content
package.json 3.45 KiB
Newer Older
Maciej Hirsz's avatar
Maciej Hirsz committed
{
  "version": "17.1.2",
  "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": ">=18.14"
Maciej Hirsz's avatar
Maciej Hirsz committed
  "scripts": {
    "main": "node ./build/src/main.js",
    "dev": "ts-node-dev --respawn --transpile-only ./src/main.ts",
    "deploy": "yarn build && npm publish",
    "inspect": "node --inspect=127.0.0.1:8081 ./build/src/main.js",
    "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)",
    "build:scripts": "substrate-exec-rimraf scripts/build/ && substrate-exec-tsc --project scripts/tsconfig.json",
    "build:e2e-tests": "substrate-exec-rimraf e2e-tests/build/ && substrate-exec-tsc --project e2e-tests/tsconfig.json",
    "bench": "yarn build:scripts && node scripts/build/runBenchmarks.js",
    "lint": "substrate-dev-run-lint",
    "lint:fix": "substrate-dev-run-lint --fix",
    "start:log-rpc": "yarn run build && NODE_ENV=test yarn run main ",
    "start:latest-e2e-tests": "yarn build:e2e-tests && node ./e2e-tests/build/latest/index.js",
    "start:latest-e2e-scripts": "yarn build:scripts && node scripts/build/runLatestE2eTests.js",
    "start:historical-e2e-tests": "yarn build:e2e-tests && node ./e2e-tests/build/historical/historical.js --config=./e2e-tests/jest.config.js",
    "start:historical-e2e-scripts": "yarn build:scripts && node scripts/build/runHistoricalE2eTests.js",
    "test": "NODE_ENV=test substrate-exec-jest",
    "test:watch": "NODE_ENV=test substrate-exec-jest --watch",
    "test:ci": "NODE_ENV=test substrate-exec-jest",
    "test:latest-e2e-tests": "yarn start:latest-e2e-scripts",
    "test:historical-e2e-tests": "yarn start:historical-e2e-scripts",
    "test:test-release": "yarn build:scripts && node scripts/build/runYarnPack.js"
Maciej Hirsz's avatar
Maciej Hirsz committed
  },
  "dependencies": {
  "resolutions": {
  "keywords": [
    "substrate",
    "api",
    "sidecar",
    "polkadot",
    "kusama"
Tarik Gul's avatar
Tarik Gul committed
  ],
  "packageManager": "[email protected]"
Maciej Hirsz's avatar
Maciej Hirsz committed
}