{"c8":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js"]},"ava":{"timeout":"20s","failFast":true,"typescript":{"compile":false,"rewritePaths":{"src/":"build/"}},"nodeArguments":["--experimental-json-modules"],"workerThreads":false},"bugs":{"url":"https://github.com/bitauth/libauth/issues"},"dist":{"shasum":"4e108a6f5996f4d7cb2157ad9b3f83b3e8bdf192","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.3.tgz","fileCount":264,"integrity":"sha512-CD1TVvdbu+Fop7aaYU5w21IND9cY+kbmOLWcsuiJi17BRXjdoLKGbIQAjo0seuuWsehAR2PvUBZIgLEPgHeOfw==","signatures":[{"sig":"MEUCIA2/4sWXGwJIcJQGBCrTbYvxLa79JtsC8nAGEfHEIQm8AiEA3Y9iZJIQDsDgQCr4rm7ZCCOQog6MoNdFWksG0RxwzRg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2784546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihvq8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbbw//feIcR1vQ23xCO6HhYEQn5Rrin/ZNPsR2/p3LUAdPfiQTjKFV\r\nNu4TDASZwc6MCgoGcI4EI5hUbp6VcaIQXadp+OQGTiZWiOt1uO8js5B1dRbk\r\nQJBEmkFyOqYjnc5a6bfGwdxIZoBXiqKgKPut6qmdYsWFHYZsWkyF7qd0EcFO\r\nOXFXlNfPjzcJau0WR9BkgGxm58Vf9Nn8xyJJPerqaxoUTZNhhkLr3+0I7Ov8\r\np69B/rb/G4nagrEbwyGTWCrhlGaC5kSD8n2V83/4PlPUHqne+Rz6unxMBo6q\r\nQD/evcRm0ILrPFPnFTjVR3A1Imkc3JmwXyo/BNcNjnjS6/KZ6E1HOXSQafNW\r\nYks681k1b2Nkej45CWZRy4UbBWekbNDH490aAm1mAr048YaZA6BiSKrK3Lqc\r\ntN/225epIYsqb31ivWkNwJjJGT8knsYXIKK40ecVykg8rjRbDd6NpM6GmK1B\r\n/KtkKlx7yEVkZ5WKOrtti0kH3I8asw0RKanD+KDlaYH2Vk06fMqi2mx6QAu0\r\nFAHCYXqWw4mAN3pb9+R5uODKz/LW/JAVL84Cdscll3Qv2vaZxOXs3pMvnCkM\r\nwbNg1OdftjASKJSH3D3VgqHq0ENKuqoAtwx1tU1+W8FTy/RpMIWxyi/s9awp\r\nDuXRJ5lG90Q8emTqpzEDiGu4On9YmdyjqTY=\r\n=tZ4C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","name":"@bitauth/libauth","type":"module","types":"./build/index.d.ts","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"62efd7e52f9135e0b89b8b34b42af0e33a5d54cb","license":"MIT","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-p build:*","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s build:tsc build:wasm && yarn build:tsc -- -w","version":"standard-version","cov:html":"c8 report --reporter=html","cov:lcov":"c8 report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --out build/docs","doc:json":"typedoc src/index.ts --target ES6 --mode file --excludeNotExported --json build/docs/typedoc.json","doc:logo":"cpy assets/libauth.svg build/docs","doc:next":"run-s build doc:extract doc:generate","fix:lint":"eslint . --ext .ts --fix","build:tsc":"tsc -p tsconfig.json","cov:check":"c8 report && c8 check-coverage --lines 90 --functions 90 --branches 90","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","gen:graph":"mkdir -p temp && madge --image temp/deps-$(date +\"%FT%H%M\").svg build/index.js","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":"c8 ava","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m 2>&1 | tee bench.log","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","gen:schema":"run-p gen:schema:*","watch:test":"yarn test:unit:fast -- --watch -v","doc:extract":"api-extractor run --local --typescript-compiler-folder node_modules/typescript","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","test-node18":"NODE_OPTIONS=--openssl-legacy-provider run-s build test:*","test:cycles":"madge --circular build/index.js","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","test:schemas":"run-s gen:schema && if [ `git status src/lib/schema --porcelain | head -c1 | wc -c` -gt 0 ]; then echo \"Error: one or more schemas are outdated. Please review and commit the changes in src/lib/schema.\" && false; fi && echo \"Schemas are up to date.\"","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","gen:templates":"run-s build && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/lib/transaction/fixtures/generate-templates.spec.helper.js' 'cash-channels' > src/lib/transaction/fixtures/templates/cash-channels.json && prettier 'src/lib/transaction/fixtures/templates/*.json' --write","gen:vmb-tests":"run-s build gen:vmb-tests:*","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","version:alpha":"standard-version --prerelease alpha","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","copy:wasm:sha1":"cpy --flat src/lib/bin/sha1/sha1.wasm build/lib/bin/sha1","gen:schema-TODO":"//TODO: use ajv compile --code-esm option after merge: https://github.com/ajv-validator/ajv-cli/pull/200","prepare-release":"run-s reset test cov:check doc:html doc:logo doc:cname version doc:publish","watch:test-slow":"yarn test:unit -- --watch -v","copy:wasm:sha256":"cpy --flat src/lib/bin/sha256/sha256.wasm build/lib/bin/sha256","copy:wasm:sha512":"cpy --flat src/lib/bin/sha512/sha512.wasm build/lib/bin/sha512","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","gen:vmb-tests:bch":"node 'build/lib/vmb-tests/bch-vmb-tests.spec.helper.js' 'src/lib/vmb-tests/generated/bch' && prettier 'src/lib/vmb-tests/generated/bch/*.json' --write","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","gen:vmb-tests-live":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","test:unit:vmb_test":"node 'build/lib/vmb-tests/bch-vmb-test.spec.helper.js'","copy:wasm:ripemd160":"cpy --flat src/lib/bin/ripemd160/ripemd160.wasm build/lib/bin/ripemd160","copy:wasm:secp256k1":"cpy --flat src/lib/bin/secp256k1/secp256k1.wasm build/lib/bin/secp256k1","test:unit:vmb_tests":"c8 ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial","compile:debug:hashes":"docker run -it libauth-hashes bash","prepare-release:alpha":"run-s reset test cov:check version:alpha","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:schema:authentication-template":"ts-json-schema-generator --no-ref-encode --path 'src/lib/compiler/template-types.ts' --type 'AuthenticationTemplate' > src/lib/schema/authentication-template.schema.json && prettier 'src/lib/schema/authentication-template.schema.json' --write && ajv compile -s src/lib/schema/authentication-template.schema.json --allowUnionTypes -o src/lib/schema/ajv/validate-authentication-template.js && prettier 'src/lib/schema/ajv/validate-authentication-template.js' --write && node -e \"const fs = require('fs'), path = 'src/lib/schema/ajv/validate-authentication-template.js'; fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/'use strict'[\\s\\S]*module.exports.default =/, 'export default'), 'utf8')\""},"_npmUser":{"name":"jasondreyzehner","email":"jason@dreyzehner.com"},"homepage":"https://libauth.org/","keywords":["authentication","bitauth","Bitcoin Cash","Bitcoin","cryptocurrency","wasm","crypto","sha256","ripemd160","secp256k1","sha1","sha512","HMAC","wallet","blockchain","typescript","webassembly","BCH","BTC"],"prettier":{"overrides":[{"files":["src/lib/vmb-tests/bch-vmb-tests.ts","src/lib/schema/generated/*.js"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/generated/bch/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"8.6.0","description":"ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.2","ava":"^4.1.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^5.20.0","eslint":"8.15.0","rollup":"^2.73.0","ajv-cli":"^5.0.0","bcrypto":"^5.4.0","codecov":"^3.8.3","cpy-cli":"^4.1.0","express":"^4.18.1","hash.js":"^1.1.5","typedoc":"^0.22.13","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.6.2","puppeteer":"^14.1.0","secp256k1":"^4.0.3","browserify":"16.5.1","fast-check":"^2.25.0","typescript":"^4.6.4","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.13","ava-fast-check":"^5.0.0","@ava/typescript":"^3.0.1","@types/elliptic":"^6.4.14","@types/puppeteer":"^5.4.6","bitcore-lib-cash":"^8.25.28","standard-version":"^9.3.2","@types/browserify":"^12.0.37","source-map-support":"^0.5.21","eslint-plugin-tsdoc":"^0.2.14","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.26.0","eslint-config-bitauth":"^3.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.23.2","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.13","@typescript-eslint/parser":"^5.23.0","cz-conventional-changelog":"^3.3.0","@rollup/plugin-node-resolve":"^13.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.23.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.3_1653013179936_0.3838643193553226","host":"s3://npm-registry-packages"},"_id":"@bitauth/libauth@2.0.0-alpha.3","version":"2.0.0-alpha.3"}