{
  "name": "@opcat-labs/scrypt-ts-opcat",
  "description": "A TypeScript library for building OPCAT smart contracts with sCrypt.",
  "version": "4.0.0",
  "author": "OP_CAT Labs",
  "main": "./dist/cjs/index.cjs",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "type": "module",
  "exports": {
    ".": {
      "require": "./dist/cjs/index.cjs",
      "import": "./dist/esm/index.js",
      "types": "./dist/types/index.d.ts"
    },
    "./dist/*": {
      "require": "./dist/cjs/*.js",
      "types": "./dist/types/*.d.ts",
      "import": "./dist/esm/*.js"
    }
  },
  "files": [
    "dist",
    "scrypt.index.json",
    "assets",
    "src/smart-contract/builtin-libs",
    "src/smart-contract/types/structs.ts"
  ],
  "license": "MIT",
  "engines": {
    "node": ">=20.0.0"
  },
  "scripts": {
    "test": "npm run test:local && npm run test:dist",
    "test:local": "cross-env DUMMY_PROVIDER=1 mocha",
    "test:dist": "node test-esm/test.mjs && node test-cjs/test.cjs",
    "test:testnet": "cross-env NETWORK=opcat-testnet mocha --timeout=0 --jobs=1",
    "test:mainnet": "cross-env NETWORK=opcat-mainnet mocha --timeout=0 --jobs=1",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "postbuild:cjs": "node fixup.cjs",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build": "yarn run build:cjs && yarn run build:esm",
    "gen:assets": "tspc -p tsconfig.assets.json && node injectAsm.cjs",
    "gen:contract": "tsx scripts/genContract.ts",
    "prebuild": "yarn run clean",
    "beta": "yarn publish  --tag beta  --access public",
    "genkey": "tsx test/utils/privateKey.ts",
    "clean": "rimraf dist",
    "doc": "typedoc --readme none --plugin typedoc-plugin-markdown"
  },
  "devDependencies": {
    "@types/chai": "^5.0.1",
    "@types/chai-as-promised": "^8.0.1",
    "@types/md5": "^2.3.5",
    "@types/mocha": "^10.0.10",
    "@types/node": "^22.10.2",
    "@typescript-eslint/typescript-estree": "^8.19.0",
    "chai": "^5.1.2",
    "chai-as-promised": "^8.0.1",
    "cross-env": "^7.0.3",
    "dotenv": "^16.4.7",
    "esm": "^3.2.25",
    "mocha": "^11.0.1",
    "rimraf": "^6.0.1",
    "ts-node": "^10.9.2",
    "ts-patch": "3.3.0",
    "tsx": "^4.19.2"
  },
  "dependencies": {
    "@noble/curves": "^1.8.1",
    "@opcat-labs/opcat": "4.0.0",
    "bip174": "^3.0.0-rc.1",
    "cbor2": "^2.0.1",
    "cross-fetch": "^4.1.0",
    "decimal.js": "^10.5.0",
    "md5": "^2.3.0",
    "reflect-metadata": "^0.2.2",
    "uint8array-tools": "^0.0.9",
    "valibot": "^0.38.0",
    "varuint-bitcoin": "^2.0.0"
  },
  "peerDependencies": {}
}
