{
  "name": "@interlay/polkabtc",
  "version": "0.17.1",
  "description": "JavaScript library to interact with PolkaBTC",
  "main": "build/index.js",
  "typings": "build/index.d.ts",
  "repository": "https://github.com/interlay/polkabtc-js",
  "license": "Apache-2.0",
  "keywords": [
    "Polkadot",
    "Bitcoin",
    "PolkaBTC"
  ],
  "scripts": {
    "build": "run-s generate:* build:*",
    "build:tsc": "tsc -p tsconfig.json",
    "fix": "run-s fix:*",
    "fix:prettier": "prettier \"src/**/*.ts\" --write",
    "fix:lint": "eslint --fix . --ext .ts",
    "ci:test": "run-s build test:lint test:unit test:integration",
    "ci:test:staging": "run-s build test:lint test:unit test:integration:staging",
    "ci:test:release": "run-s build test:integration:release",
    "ci:test-with-coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" yarn ci:test",
    "docs": "./generate_docs",
    "generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package @interlay/polkabtc/interfaces --input ./src/interfaces",
    "generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @interlay/polkabtc/interfaces --endpoint ./src/json/parachain.json --output ./src/interfaces",
    "test": "run-s build test:*",
    "test:lint": "eslint src --ext .ts",
    "test:unit": "mocha test/unit/*.test.ts test/unit/**/*.test.ts",
    "test:integration": "mocha test/integration/**/*.test.ts --timeout 10000000",
    "test:integration:staging": "mocha test/integration/**/staging/*.test.ts --timeout 10000000",
    "test:integration:release": "mocha test/integration/**/release/*.test.ts --timeout 10000000",
    "watch:build": "tsc -p tsconfig.json -w",
    "watch:test": "mocha --watch test/**/*.test.ts"
  },
  "engines": {
    "node": ">=11"
  },
  "engineStrict": true,
  "dependencies": {
    "@interlay/esplora-btc-api": "0.4.0",
    "@interlay/polkabtc-types": "0.7.3",
    "@polkadot/api": "4.12.1",
    "@polkadot/typegen": "4.12.1",
    "@polkadot/keyring": "6.6.2-6",
    "@types/big.js": "6.0.2",
    "big.js": "6.0.3",
    "bitcoin-core": "^3.0.0",
    "bitcoinjs-lib": "^5.2.0",
    "bn.js": "^5.2.0",
    "cross-fetch": "^3.0.6",
    "regtest-client": "^0.2.0",
    "sinon": "^9.0.3",
    "ts-mock-imports": "^1.3.0"
  },
  "devDependencies": {
    "@polkadot/util": "^6.3.1",
    "@types/chai": "^4.2.12",
    "@types/chai-as-promised": "^7.1.3",
    "@types/mocha": "^8.0.3",
    "@types/node": "^14.6.4",
    "@types/sinon": "^9.0.5",
    "@typescript-eslint/eslint-plugin": "^4.1.0",
    "@typescript-eslint/parser": "^4.1.0",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "eslint": "^7.8.0",
    "eslint-config-prettier": "^6.11.0",
    "husky": "^5.1.1",
    "mocha": "^8.1.3",
    "nock": "^13.0.4",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "prettier": "^2.0.5",
    "ts-node": "^9.0.0",
    "typedoc": "^0.20.27",
    "typedoc-plugin-markdown": "^3.5.0",
    "typescript": "^4.1.3"
  },
  "files": [
    "build/main",
    "build/module",
    "!**/*.spec.*",
    "!**/*.json",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "prettier": {
    "singleQuote": false,
    "tabWidth": 4
  },
  "mocha": {
    "reporter": "spec",
    "require": "ts-node/register",
    "watch-files": [
      "src/**/*.ts",
      "test/**/*.ts"
    ],
    "recursive": true
  }
}
