{
  "name": "@monaxlabs/aspen-sdk",
  "license": "Apache-2.0",
  "version": "0.7.4",
  "author": "Silas Davis <silas.davis@monaxlabs.io>",
  "type": "commonjs",
  "main": "dist/index.js",
  "repository": {
    "type": "git",
    "url": "git@github.com:monax/aspen-sdk.git",
    "directory": "sdk"
  },
  "sideEffects": false,
  "files": [
    "dist/**",
    "LICENSE",
    "README.md"
  ],
  "dependencies": {
    "@ethersproject/abi": "^5.7.0",
    "@ethersproject/abstract-provider": "^5.7.0",
    "@ethersproject/logger": "^5.7.0",
    "@ethersproject/providers": "^5.7.2",
    "@monaxlabs/phloem": "0.17.5",
    "@monaxlabs/cambium": "0.17.5",
    "axios": "^1.2.2",
    "date-fns": "^2.29.3",
    "ethers": "^5.7.2",
    "form-data": "^4.0.0",
    "fp-ts": "^2.14.0",
    "io-ts": "^2.2.20",
    "io-ts-codegen": "^0.5.0",
    "io-ts-reporters": "^2.0.1",
    "io-ts-types": "^0.5.19",
    "oidc-client-ts": "^2.2.4",
    "jose": "^4.11.1",
    "monocle-ts": "^2.3.13",
    "newtype-ts": "^0.3.5"
  },
  "devDependencies": {
    "@jest/globals": "^29.3.1",
    "@monaxlabs/spec": "0.17.5",
    "@openzeppelin/contracts": "^4.8.1",
    "@typechain/ethers-v5": "^10.2.0",
    "@types/jest": "^29.2.5",
    "@types/node": "^18.11.18",
    "@types/prettier": "^2.7.2",
    "@typescript-eslint/eslint-plugin": "^5.40.0",
    "@typescript-eslint/parser": "^5.40.0",
    "eslint": "^8.25.0",
    "eslint-config-prettier": "^8.5.0",
    "google-artifactregistry-auth": "^3.0.2",
    "jest": "^29.3.1",
    "openapi-typescript-codegen": "^0.23.0",
    "prettier": "^2.7.1",
    "prettier-plugin-organize-imports": "^3.2.1",
    "ts-jest": "^29.0.3",
    "ts-node": "^10.9.1",
    "typechain": "^8.1.1",
    "typescript": "^4.8.4"
  },
  "jest": {
    "extensionsToTreatAsEsm": [
      ".ts"
    ],
    "preset": "ts-jest/presets/default-esm",
    "injectGlobals": false,
    "testMatch": [
      "**/*.test.ts"
    ],
    "moduleNameMapper": {
      "^(\\.{1,2}/.*)\\.js$": "$1"
    },
    "transform": {
      ".+\\.tsx?$": [
        "ts-jest",
        {
          "useESM": true
        }
      ]
    }
  },
  "scripts": {
    "build": "pnpm run build:generate && pnpm run build:ts",
    "build:generate": "pnpm run generate:spec && pnpm run generate:typechain && pnpm run generate:apis",
    "build:ts": "tsc --build",
    "build:ts:watch": "tsc --watch",
    "clean:compiled": "find .. -name node_modules -prune -o \\\\( -wholename '**/src/**' -a \\\\( -name '*.js' -o -name '*.d.ts' -o -name '*.js.map' \\\\) \\\\) -print",
    "test": "NODE_OPTIONS=--experimental-vm-modules jest",
    "fix": "pnpm run fix:prettier && pnpm run fix:eslint",
    "fix:prettier": "prettier --write .",
    "fix:eslint": "eslint --fix '**/*.ts'",
    "lint": "pnpm lint:js && pnpm lint:types",
    "lint:js": "eslint '**/*.{js,ts}'",
    "lint:types": "pnpm tsc --noEmit",
    "tsnode": "ts-node --esm --experimental-specifier-resolution=node",
    "generate:spec": "ts-node src/codegen/cmd/generate.ts",
    "generate:apis": "pnpm generate:gating && pnpm generate:identity",
    "generate:gating": "npx openapi-typescript-codegen --input ./node_modules/@monaxlabs/spec/apis/gating.json --output ./src/apis/gating/generated --client axios --useOptions",
    "generate:identity": "npx openapi-typescript-codegen --input ./node_modules/@monaxlabs/spec/apis/identity.json --output ./src/apis/identity/generated --client axios --useOptions",
    "generate:typechain": "typechain --out-dir=src/contracts/generated --target=ethers-v5 'src/contracts/abis/**/*.json' --show-stack-traces",
    "generate:typechain:nodenext": "typechain --out-dir=src/contracts/generated --target=ethers-v5 src/contracts/abis/* --show-stack-traces --node16-modules # switch when/if https://github.com/dethcrypto/TypeChain/pull/799 is merged",
    "examples:clear-state": "rm ../examples/flows/collection-info.json src/examples/issuance-info.json",
    "publish:public": "pnpm publish --no-git-checks --access public",
    "publish:private": "pnpm google:auth && pnpm publish --force --no-git-checks --registry https://europe-npm.pkg.dev/ew-gce-cluster-monax-io/monaxlabs/",
    "publish:bump-version": "npm version --allow-same-version --no-git-tag-version $(../scripts/version.sh)",
    "publish:public:bump": "pnpm publish:bump-version && pnpm publish:public",
    "publish:public:bump:prerelease": "pnpm publish:public:bump --tag prerelease",
    "publish:private:bump": "pnpm publish:bump-version && pnpm publish:private",
    "build:pack": "pnpm build && pnpm pack --pack-destination",
    "build:ts:pack": "pnpm build:ts && pnpm pack --pack-destination",
    "google:auth": "npx google-artifactregistry-auth",
    "google:npmrc": "gcloud artifacts print-settings npm --project=ew-gce-cluster-monax-io --repository=monaxlabs --location=europe --scope=@monaxlabs",
    "print:version": "../scripts/version.sh"
  }
}