{
  "name": "phantasma-sdk-ts",
  "version": "0.7.0",
  "description": "Typescript SDK for interacting with the Phantasma Chain",
  "author": "Phantasma Team",
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js"
    },
    "./*": {
      "types": "./dist/types/*.d.ts",
      "import": "./dist/esm/*.js",
      "require": "./dist/cjs/*.js"
    },
    "./package.json": "./package.json"
  },
  "typesVersions": {
    "*": {
      "*": [
        "dist/types/*"
      ]
    }
  },
  "publishConfig": {
    "access": "public",
    "tag": "latest"
  },
  "engines": {
    "node": ">=14"
  },
  "scripts": {
    "build": "npm run clean && npm run build:cjs && npm run build:esm",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:esm": "tsc -p tsconfig.esm.json && node -e \"const fs=require('fs'); const path=require('path'); const out=path.join('dist','esm','package.json'); fs.writeFileSync(out, '{\\\"type\\\":\\\"module\\\"}\\n');\"",
    "build:umd": "npm run build:cjs && browserify dist/cjs/index.js -s phantasma > html/phantasma.js",
    "clean": "node scripts/clean-dist.mjs",
    "test": "npm run test:cjs && npm run test:esm && npm run test:esm-runtime",
    "tests": "npm run test",
    "test:cjs": "jest --config jest.config.js --runInBand",
    "test:esm": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --config jest.config.esm.cjs --runInBand",
    "test:esm-runtime": "npm run build:esm && node --input-type=module -e \"import('./dist/esm/index.js').then((m)=>{ if (!('PhantasmaAPI' in m)) { console.error('Missing PhantasmaAPI export'); process.exit(1); } }).catch((err)=>{ console.error(err); process.exit(1); })\"",
    "coverage": "jest --coverage",
    "lint": "prettier --check . && eslint .",
    "format": "prettier --write .",
    "prettier-watch": "onchange 'src/**/*.ts' -- prettier --write {{changed}}"
  },
  "files": [
    "dist/**/*",
    "README.md",
    "LICENSE"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/phantasma-io/phantasma-ts.git"
  },
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/phantasma-io/phantasma-ts/issues"
  },
  "homepage": "https://github.com/phantasma-io/phantasma-ts#readme",
  "dependencies": {
    "@ledgerhq/hw-transport-node-hid": "^6.31.0",
    "@ledgerhq/hw-transport-webusb": "^6.31.0",
    "big-integer": "^1.6.52",
    "bip32": "^3.1.0",
    "bip39": "^3.1.0",
    "bs58": "^5.0.0",
    "cross-fetch": "^3.2.0",
    "crypto-js": "^4.2.0",
    "csharp-binary-stream": "^1.1.0",
    "elliptic": "^6.6.1",
    "tiny-secp256k1": "^2.2.4",
    "wif": "^2.0.6"
  },
  "devDependencies": {
    "@types/bs58": "^4.0.4",
    "@types/crypto-js": "^4.2.2",
    "@types/elliptic": "^6.4.18",
    "@types/jest": "^30.0.0",
    "@types/wif": "^2.0.5",
    "browserify": "^17.0.1",
    "eslint": "^9.39.4",
    "eslint-config-prettier": "^10.1.8",
    "globals": "^16.5.0",
    "jest": "^30.3.0",
    "prettier": "^3.8.1",
    "ts-jest": "^29.4.6",
    "typescript": "^4.9.5",
    "typescript-eslint": "^8.57.0"
  }
}
