{
  "name": "@n1xyz/proton",
  "version": "0.1.1",
  "description": "",
  "keywords": [],
  "author": "",
  "license": "ISC",
  "type": "module",
  "main": "dist/index.common.js",
  "browser": "dist/index.browser.js",
  "types": "dist/index.d.ts",
  "files": [
    "README.md",
    "package.json",
    "dist/"
  ],
  "scripts": {
    "gen:idl": "nix run ..#print-idl > src/generated/bridge-idl.json",
    "gen:idl-ts": "bun run ./scripts/idl-to-ts.ts src/generated/bridge-idl.json > src/generated/bridge-idl.ts",
    "gen:api": "nix run ..#hansel-openapi | bunx openapi-typescript > src/generated/hansel-openapi.ts",
    "gen": "bun run gen:idl && bun run gen:idl-ts && bun run gen:api",
    "build:types": "bunx tsc",
    "build:node": "bun build ./src/index.ts --target=node --format=esm --outfile=dist/index.common.js",
    "build:browser": "bun build ./src/index.ts --target=browser --format=esm --outfile=dist/index.browser.js",
    "build": "bun run gen && bun run build:types && bun run build:node && bun run build:browser",
    "lint": "prettier --check .",
    "lint:fix": "prettier --write ."
  },
  "devDependencies": {
    "@types/node": "^22.17.1",
    "openapi-typescript": "^7.9.1",
    "typescript": "^5.9.2",
    "@types/bun": "latest"
  },
  "dependencies": {
    "@coral-xyz/anchor": "=0.31.1",
    "@solana/spl-token": "^0.4.13",
    "@solana/web3.js": "^1.98.4",
    "buffer": "^6.0.3",
    "openapi-fetch": "^0.14.0"
  }
}
