{"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":"ebd6d87b2fa658b9d0ea4ec296cfc20434b3224a","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.2.tgz","fileCount":262,"integrity":"sha512-FthBDxqzPV7XHM50cBxWYPIaJ0wUe4ijJbk3Hi5XB22EA0IbccLcGr0DNSSAiNaL2xZcCCDryvu+bvLQgwk8BA==","signatures":[{"sig":"MEUCIDKdtgcDwV88cwM/KjJEqeBjSY0sYaQAAgrLzEE8pDeCAiEAqRLGDwYrGpET2HxYqzqZ3ZdPaePQISUeoykCCSngimk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2774333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihdWqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4Gw/+LN+9G13AfuiQtqR2lMRkJc6gjrs4NoQuVWgK3YbDXbVrsTzz\r\naaMA+Hyls0agHu6tkSCci+Op/P5ogyJEHwKz52X+kDbpTBMLzRLFFSq+SI6X\r\nWQVd6xdBBCYQy5+gbEu4Pa+6JEjDjYjJBMeJjvbVzfy6erHsjhgeWMbyD9kJ\r\nyKq/YScNVmxgyg4p+vcflUUUvhZ2dm5OuMx5OYvALOXPK/bR2cPi4OPVngsI\r\nKFH2C1LP1l13fNUQPZAp2dVs9gVyLml90feuQfVLEUtkeQby/H0RfwYDw1kt\r\ndTMUHxN3VXJe/jggMAqaMwMxeZ14QlA9LRRknj3nAchvjdIS0N2mtU2eGfR4\r\ndOf5ZaU+acwZ82SqfOaxoZPBtawC2iN63GkPvNwfjzR6pIoj4j3MS5tDhHqP\r\nK/zJmAebWwUvL2wHlgvDnqiwlmQFjz7AEPHPGO9/WxY14wwoVcmNLREw9T+1\r\np4WYwYDMS5oFUndANaub5/P8vpTztuvTQYKRkAY70EdHQT7JfI0oEZG33Xca\r\nDSQ8H0WZEVMHambcRXmp+/Z6xJp5aX8HMdDFTG0ojlQC9xQFYE52XG+wA2gS\r\nIg4VqF5NwezjTcxi79oa8Sc+x+ginOYZ3rLVk1tbW36g2NvrfE8jKbQBothd\r\njYu8dTOjxZwesYQqiFxgBeDxSRdyw3z8A3w=\r\n=rwDL\r\n-----END PGP SIGNATURE-----\r\n"},"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"},"exports":"./build/index.js","gitHead":"aecea12b631e6cccee87ea50816a39a7e2d43716","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.2_1652938154337_0.45574807384381644","host":"s3://npm-registry-packages"},"_id":"@bitauth/libauth@2.0.0-alpha.2","version":"2.0.0-alpha.2"}