{
  "name": "@aritz-cracker/cryptowasm",
  "version": "1.18.0",
  "description": "ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth",
  "main": "build/main/index.js",
  "typings": "build/module/index.d.ts",
  "module": "build/module/index.js",
  "repository": "https://github.com/bitauth/libauth",
  "homepage": "https://libauth.org/",
  "license": "MIT",
  "keywords": [
    "wasm",
    "crypto",
    "sha256",
    "ripemd160",
    "secp256k1",
    "sha1",
    "sha512",
    "blockchain",
    "typescript",
    "webassembly"
  ],
  "scripts": {
    "info": "npm-scripts-info",
    "compile:secp256k1": "docker build -f wasm/docker/secp256k1.Dockerfile . -t libauth-secp256k1 && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-secp256k1",
    "compile:hashes": "docker build -f wasm/docker/hashes.Dockerfile . -t libauth-hashes && docker run -it --mount type=bind,src=$(pwd)/src/lib,dst=/libauth/out,consistency=delegated libauth-hashes",
    "build": "run-s clean && run-p build:*",
    "build:main": "tsc -p tsconfig.json",
    "build:module": "tsc -p config/tsconfig.module.json",
    "build:wasm": "run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160",
    "copy:wasm:secp256k1": "cpy src/lib/bin/secp256k1/secp256k1.wasm build/main/lib/bin/secp256k1 && cpy src/lib/bin/secp256k1/secp256k1.wasm build/module/lib/bin/secp256k1",
    "copy:wasm:sha1": "cpy src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1",
    "copy:wasm:sha256": "cpy src/lib/bin/sha256/sha256.wasm build/main/lib/bin/sha256 && cpy src/lib/bin/sha256/sha256.wasm build/module/lib/bin/sha256",
    "copy:wasm:sha512": "cpy src/lib/bin/sha512/sha512.wasm build/main/lib/bin/sha512 && cpy src/lib/bin/sha512/sha512.wasm build/module/lib/bin/sha512",
    "copy:wasm:ripemd160": "cpy src/lib/bin/ripemd160/ripemd160.wasm build/main/lib/bin/ripemd160 && cpy src/lib/bin/ripemd160/ripemd160.wasm build/module/lib/bin/ripemd160",
    "compile:debug:secp256k1": "docker run -it libauth-secp256k1 bash",
    "compile:debug:hashes": "docker run -it libauth-hashes bash",
    "fix": "run-s fix:*",
    "fix:lint": "eslint . --ext .ts --fix",
    "test": "run-s build test:*",
    "test:deps": "node -e \"if(Object.keys(require('./package.json').dependencies).length > 0) { console.error('Dependencies are not allowed.'); process.exit(1); }\"",
    "test:lint": "eslint . --ext .ts",
    "test:unit": "nyc --silent ava",
    "test:unit:fast": "nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'",
    "test:unit:fast-check": "nyc --silent ava --match='*[fast-check]*",
    "test:unit:script_tests": "nyc --silent ava --match='*[script_tests]*' --verbose --serial",
    "bench": "run-s build bench:browser-deps bench:test",
    "bench:test": "ava --config .ava.bench.config.js --serial --timeout=2m",
    "bench:browser-deps": "browserify node_modules/chuhai/index.js --standalone chuhai -o build/bench/chuhai.js && browserify node_modules/hash.js/lib/hash.js --standalone hash -o build/bench/hash.js",
    "watch": "run-s clean build:main build:wasm && npm build:main -- -w",
    "watch:module": "run-s clean build:main build:wasm && npm run build:module -- -w",
    "watch:single": "echo 'Usage: npm run watch:single --match=\"*pattern*\"' && ava -v --watch",
    "watch:test": "npm run test:unit:fast -- --watch -v",
    "watch:test-slow": "npm run test:unit -- --watch -v",
    "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
    "cov:html": "nyc report --reporter=html",
    "cov:lcov": "nyc report --reporter=lcov",
    "cov:send": "run-s cov:lcov && codecov",
    "cov:check": "nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65",
    "version": "standard-version",
    "reset": "git clean -dfx && git reset --hard && npm install",
    "clean": "trash build test",
    "prepare-release": "run-s reset test cov:check version"
  },
  "scripts-info": {
    "info": "Display information about the package scripts",
    "build": "Clean and rebuild the project",
    "fix": "Try to automatically fix any linting problems",
    "test": "Lint and unit test the project",
    "bench": "Build the project and run the benchmarks",
    "watch": "Watch and rebuild the project on save, then rerun relevant tests",
    "watch:with-crypto": "Like 'watch', but also including tests for the crypto APIs",
    "cov": "Rebuild, run tests, then create and open the coverage report",
    "compile": "Compile the WebAssembly binaries and integrate them into src",
    "compile:debug:secp256k1": "Run the compile:secp256k1 Docker container in interactive mode",
    "compile:inspect:secp256k1": "Format the compile:secp256k1 output for easier review",
    "version": "Bump package.json version, update CHANGELOG.md, tag release",
    "reset": "Delete all untracked files and reset the repo to the last commit",
    "prepare-release": "One-step: clean, build, test, publish docs, and prep a release"
  },
  "engines": {
    "node": ">=8.9"
  },
  "dependencies": {},
  "devDependencies": {
    "@ava/typescript": "^1.1.1",
    "@bitjson/npm-scripts-info": "^1.0.0",
    "@istanbuljs/nyc-config-typescript": "^1.0.1",
    "@microsoft/api-documenter": "^7.8.22",
    "@microsoft/api-extractor": "^7.9.3",
    "@rollup/plugin-alias": "^3.1.1",
    "@rollup/plugin-commonjs": "^14.0.0",
    "@rollup/plugin-node-resolve": "^8.4.0",
    "@types/browserify": "^12.0.33",
    "@types/elliptic": "^6.4.12",
    "@types/express": "^4.17.7",
    "@types/puppeteer": "^3.0.1",
    "@typescript-eslint/parser": "^3.8.0",
    "@typescript-eslint/eslint-plugin": "^4.4.1",
    "asmcrypto.js": "^2.3.2",
    "ava": "^3.11.1",
    "ava-fast-check": "^2.0.0",
    "bcrypto": "^5.2.0",
    "bitcore-lib-cash": "^8.22.0",
    "browserify": "16.5.1",
    "chuhai": "^1.2.0",
    "codecov": "^3.7.2",
    "cpy-cli": "^3.1.1",
    "cz-conventional-changelog": "^3.2.0",
    "elliptic": "^6.5.3",
    "eslint": "^7.6.0",
    "eslint-config-bitauth": "^2.0.0",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-functional": "^3.0.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-tsdoc": "^0.2.6",
    "express": "^4.17.1",
    "fast-check": "^2.1.0",
    "gh-pages": "^3.1.0",
    "hash.js": "^1.1.5",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "open-cli": "^6.0.1",
    "puppeteer": "^5.2.1",
    "rollup": "^2.23.1",
    "secp256k1": "^4.0.2",
    "source-map-support": "^0.5.19",
    "trash-cli": "^3.1.0",
    "ts-json-schema-generator": "^0.70.2",
    "ts-node": "^8.10.2",
    "typedoc": "^0.17.8",
    "typescript": "^3.9.7"
  },
  "files": [
    "build/main",
    "build/module",
    "!**/*.spec.*",
    "!**/*.json",
    "CHANGELOG.md",
    "LICENSE",
    "README.md",
    "SECURITY.md"
  ],
  "ava": {
    "failFast": true,
    "timeout": "20s",
    "typescript": {
      "rewritePaths": {
        "src/": "build/main/"
      }
    },
    "files": [
      "!build/module/**"
    ]
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "greenkeeper": {
    "ignore": [
      "@types/node"
    ]
  },
  "nyc": {
    "extends": "@istanbuljs/nyc-config-typescript",
    "exclude": [
      "**/*.bench.js",
      "**/*.spec.js",
      "**/*.spec.helper.js",
      "**/*.spec.debug.js"
    ]
  },
  "browserRequirifier": {
    "include": "build/main/lib",
    "exclude": [
      "build/main/lib/crypto/hash.browser.bench.js",
      "build/main/lib/crypto/sha1.bench.js",
      "build/main/lib/crypto/sha256.bench.js",
      "build/main/lib/crypto/sha512.bench.js",
      "build/main/lib/crypto/hash.bench.helper.js",
      "build/main/lib/crypto/hash.spec.helper.js",
      "build/main/lib/crypto/ripemd160.spec.js",
      "build/main/lib/crypto/secp256k1.spec.js",
      "build/main/lib/crypto/hash.browser.bench.helper.js",
      "build/main/lib/crypto/ripemd160.bench.js",
      "build/main/lib/crypto/secp256k1.bench.js",
      "build/main/lib/crypto/secp256k1-types.js",
      "build/main/lib/crypto/sha1.spec.js",
      "build/main/lib/crypto/sha256.spec.js",
      "build/main/lib/crypto/sha512.spec.js"
    ]
  }
}
