@graphprotocol/graph-cli
Version: 
CLI for building for and deploying to The Graph
97 lines • 2.81 kB
JSON
{
  "name": "@graphprotocol/graph-cli",
  "version": "0.92.0-alpha-20241213121009-5699befe090cf64e5acaff09851751101cb5c8c1",
  "type": "module",
  "description": "CLI for building for and deploying to The Graph",
  "license": "(Apache-2.0 OR MIT)",
  "engines": {
    "node": ">=18"
  },
  "bin": {
    "graph": "bin/run.js"
  },
  "main": "dist/index.js",
  "files": [
    "CHANGELOG.md",
    "bin",
    "config/TheGraphNetworksRegistry.json",
    "dist",
    "oclif.manifest.json",
    "README.md",
    "!dist/*.tar.gz"
  ],
  "dependencies": {
    "@float-capital/float-subgraph-uncrashable": "0.0.0-internal-testing.5",
    "@oclif/core": "4.0.34",
    "@oclif/plugin-autocomplete": "^3.2.11",
    "@oclif/plugin-not-found": "^3.2.29",
    "@oclif/plugin-warn-if-update-available": "^3.1.24",
    "@pinax/graph-networks-registry": "^0.6.5",
    "@whatwg-node/fetch": "^0.10.1",
    "assemblyscript": "0.27.31",
    "binary-install": "^1.1.0",
    "chalk": "5.3.0",
    "chokidar": "4.0.1",
    "debug": "4.3.7",
    "docker-compose": "1.1.0",
    "fs-extra": "11.2.0",
    "glob": "11.0.0",
    "gluegun": "5.2.0",
    "graphql": "16.9.0",
    "immutable": "5.0.3",
    "jayson": "4.1.3",
    "js-yaml": "4.1.0",
    "kubo-rpc-client": "^5.0.2",
    "open": "10.1.0",
    "prettier": "3.4.2",
    "semver": "7.6.3",
    "tmp-promise": "3.0.3",
    "web3-eth-abi": "4.4.1",
    "which": "5.0.0",
    "yaml": "2.6.1"
  },
  "devDependencies": {
    "@types/debug": "^4.1.12",
    "@types/fs-extra": "^11.0.4",
    "@types/js-yaml": "^4.0.9",
    "@types/semver": "^7.5.8",
    "@types/which": "^3.0.4",
    "copyfiles": "^2.4.1",
    "oclif": "4.16.0",
    "spawn-command": "1.0.0",
    "strip-ansi": "7.1.0",
    "typescript": "^5.7.2",
    "vitest": "^2.1.8"
  },
  "publishConfig": {
    "access": "public"
  },
  "oclif": {
    "bin": "graph",
    "commands": "./dist/commands",
    "additionalHelpFlags": [
      "-h"
    ],
    "additionalVersionFlags": [
      "-v"
    ],
    "plugins": [
      "@oclif/plugin-not-found",
      "@oclif/plugin-autocomplete",
      "@oclif/plugin-warn-if-update-available"
    ],
    "warn-if-update-available": {
      "timeoutInDays": 1,
      "message": "<%= config.name %> update available from <%= chalk.yellowBright(config.version) %> to <%= chalk.greenBright(latest) %>."
    }
  },
  "scripts": {
    "build": "tsc -b tsconfig.build.json && oclif manifest && oclif readme && copyfiles -u 1 src/**/*.graphql dist/",
    "oclif:pack": "npm pack && pnpm oclif pack tarballs --no-xz && node scripts/rename-tarballs.mjs",
    "test": "vitest run --bail=1",
    "test:add": "vitest run tests/cli/add.test.ts",
    "test:init": "vitest run tests/cli/init.test.ts",
    "test:validation": "vitest run tests/cli/validation.test.ts",
    "type-check": "tsc --noEmit"
  }
}