{
  "name": "@0gfoundation/0g-ts-sdk",
  "version": "1.2.8",
  "description": "JS/TS SDK for 0G Storage",
  "main": "./lib.commonjs/index.js",
  "module": "./lib.esm/index.js",
  "types": "./types/index.d.ts",
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "require": "./lib.commonjs/index.js",
      "import": "./lib.esm/index.js",
      "default": "./lib.esm/index.js"
    },
    "./browser": {
      "types": "./lib.esm/index.d.ts",
      "require": "./dist/zgstorage.umd.min.js",
      "import": "./dist/zgstorage.esm.js",
      "default": "./dist/zgstorage.esm.min.js"
    }
  },
  "packageManager": "pnpm@8.7.1",
  "scripts": {
    "format": "prettier --write src.ts/**/*.ts src.ts/*.ts",
    "test": "jest",
    "_build-dist": "rollup -c && uglifyjs ./dist/zgstorage.esm.js -o ./dist/zgstorage.esm.min.js && uglifyjs ./dist/zgstorage.umd.js -o ./dist/zgstorage.umd.min.js",
    "_dist-stats": "gzip -k9f -S '.gz' ./dist/zgstorage.esm.min.js && gzip -k9f -S '.gz' ./dist/zgstorage.umd.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js",
    "clean": "rm -rf dist lib.esm lib.commonjs types",
    "build-dist": "npm run build-esm && npm run _build-dist && npm run _dist-stats",
    "build-esm": "tsc --project tsconfig.esm.json",
    "build-cjs": "tsc --project tsconfig.commonjs.json",
    "build-all": "npm run clean && tsc -b tsconfig.esm.json tsconfig.commonjs.json tsconfig.types.json",
    "gen-type-package-json": "echo '{\"type\": \"commonjs\"}' > ./lib.commonjs/package.json && echo '{\"type\": \"module\"}' > ./lib.esm/package.json",
    "gen-contract-type-market": "typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/market '../0g-storage-contracts/artifacts/contracts/market/FixedPrice.sol/FixedPrice.json'",
    "gen-contract-type-flow": "typechain --target ethers-v6 --node16-modules --out-dir src.ts/contracts/flow '../0g-storage-contracts/artifacts/contracts/dataFlow/FixedPriceFlow.sol/FixedPriceFlow.json'",
    "release": "npm run build-all && npm run gen-type-package-json && npm run build-dist"
  },
  "keywords": [],
  "author": "0G Labs",
  "license": "ISC",
  "devDependencies": {
    "@rollup/plugin-commonjs": "^25.0.4",
    "@rollup/plugin-node-resolve": "^15.2.1",
    "@typechain/ethers-v6": "^0.5.0",
    "@types/jest": "^29.5.4",
    "@types/node": "^20.5.9",
    "jest": "^29.6.4",
    "js-sha3": "^0.9.1",
    "rollup": "^3.28.1",
    "rollup-plugin-polyfill-node": "^0.12.0",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.1",
    "tslib": "^2.6.2",
    "typechain": "^8.3.1",
    "typescript": "^5.2.2",
    "uglify-js": "^3.17.4"
  },
  "dependencies": {
    "@ethersproject/bytes": "^5.7.0",
    "@ethersproject/keccak256": "^5.7.0",
    "@noble/ciphers": "^1.3.0",
    "@noble/curves": "^1.9.7",
    "@noble/hashes": "^1.8.0",
    "open-jsonrpc-provider": "^0.2.1"
  },
  "peerDependencies": {
    "ethers": "6.13.1"
  },
  "files": [
    "dist",
    "lib.commonjs",
    "lib.esm",
    "types"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/0gfoundation/0g-ts-sdk.git"
  },
  "bugs": {
    "url": "https://github.com/0gfoundation/0g-ts-sdk/issues"
  },
  "homepage": "https://github.com/0gfoundation/0g-ts-sdk#readme"
}
