{
  "name": "boltz-core",
  "version": "4.0.4",
  "description": "Core library of Boltz",
  "main": "dist/lib/Boltz.js",
  "types": "dist/lib/Boltz.d.ts",
  "exports": {
    ".": {
      "types": "./dist/lib/Boltz.d.ts",
      "require": "./dist/lib/Boltz.js",
      "default": "./dist/lib/Boltz.js"
    },
    "./liquid": {
      "types": "./dist/lib/liquid/index.d.ts",
      "require": "./dist/lib/liquid/index.js",
      "default": "./dist/lib/liquid/index.js"
    },
    "./out/*": "./out/*",
    "./typechain/*": {
      "types": "./typechain/*.ts"
    },
    "./package.json": "./package.json"
  },
  "scripts": {
    "compile": "npm run compile:solidity && npm run compile:typescript",
    "compile:solidity": "forge compile && npm run compile:solidity:ethers",
    "compile:solidity:ethers": "node typechain.js",
    "compile:typescript": "tsc && npm run compile:typescript:test",
    "compile:typescript:test": "tsc --project tsconfig.test.json",
    "compile:typescript:watch": "tsc --watch",
    "lint": "npm run lint:eslint && npm run lint:biome",
    "lint:eslint": "eslint --max-warnings 0 .",
    "lint:biome": "npx @biomejs/biome lint .",
    "prettier": "npx prettier '{lib,test}/**/*.{ts,cjs}' .github *.json *.mjs *.js",
    "prettier:write": "npm run prettier -- --write",
    "prettier:check": "npm run prettier -- --check",
    "docker:start": "./startRegtest.sh",
    "docker:stop": "docker stop boltz-bitcoin && docker rm boltz-bitcoin && docker kill boltz-elements && docker rm boltz-elements",
    "test": "npm run test:solidity && npm run test:unit && npm run test:int",
    "format:solidity": "forge fmt contracts/*.sol contracts/script/ contracts/test/",
    "test:solidity": "forge test",
    "test:unit": "node --require ./test/jest.bun-preload.cjs node_modules/jest/bin/jest.js test/unit",
    "test:unit:bun": "bun --preload ./test/jest.bun-preload.cjs node_modules/jest/bin/jest.js test/unit",
    "test:int": "node --require ./test/jest.bun-preload.cjs node_modules/jest/bin/jest.js test/integration --runInBand",
    "test:int:bun": "bun --preload ./test/jest.bun-preload.cjs node_modules/jest/bin/jest.js test/integration --runInBand",
    "deploy:solidity": "forge script Deploy --broadcast --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
    "changelog": "git-cliff -o CHANGELOG.md",
    "preversion": "npm run lint && npm run compile && npm run test",
    "version": "npm run changelog",
    "prepublishOnly": "FOUNDRY_PROFILE=release npm run compile"
  },
  "license": "AGPL-3.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/BoltzExchange/boltz-core.git"
  },
  "engines": {
    "node": ">=20"
  },
  "files": [
    "LICENSE",
    "README.md",
    ".gitmodules",
    "foundry.toml",
    "remappings.txt",
    "out/ERC20.sol/ERC20.json",
    "out/Router.sol/Router.json",
    "out/TestERC20.sol/TestERC20.json",
    "out/EtherSwap.sol/EtherSwap.json",
    "out/ERC20Swap.sol/ERC20Swap.json",
    "contracts/*.sol",
    "contracts/interfaces/*.sol",
    "contracts/script/*.sol",
    "typechain/*",
    "dist/**/!(tsconfig.tsbuildinfo)"
  ],
  "dependencies": {
    "@boltz/bitcoin-ops": "^2.0.0",
    "@noble/curves": "^2.2.0",
    "@noble/hashes": "^2.2.0",
    "@scure/base": "^2.2.0",
    "@scure/btc-signer": "^2.0.1"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.12",
    "@eslint/js": "^9.39.4",
    "@swc/core": "^1.15.30",
    "@swc/jest": "^0.2.39",
    "@trivago/prettier-plugin-sort-imports": "^6.0.2",
    "@typechain/ethers-v6": "^0.5.1",
    "@types/jest": "^30.0.0",
    "@types/node": "^25.6.0",
    "@types/ws": "^8.18.1",
    "eslint": "^9.39.4",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-jest": "^29.15.2",
    "eslint-plugin-n": "^17.24.0",
    "ethers": "^6.16.0",
    "git-cliff": "^2.12.0",
    "globals": "^17.5.0",
    "jest": "^30.3.0",
    "prettier": "^3.8.3",
    "slip77": "^0.2.0",
    "typechain": "^8.3.2",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.59.0",
    "ws": "^8.20.0"
  },
  "peerDependencies": {
    "@vulpemventures/secp256k1-zkp": "^3.2.1",
    "liquidjs-lib": "^6.0.2-liquid.37"
  }
}
