{"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":"cbdf5d52c74a023ed6ece3bf01e546feb1cd5fb9","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.7.tgz","fileCount":310,"integrity":"sha512-FI05AGI/OBX1VaUYibRmULQGRU0U/2M9lsOsFlpGPuqx//vMXasQoBOa463y4rgua5hCTVCtt8LyAd0Y+uXz1A==","signatures":[{"sig":"MEUCIQDH2oSw40HvORyq1bkYSt5ogAzX2Vfuz+Ky+KYGiOhDxgIgQlLt+P7WXnMjkOnN89zUP1zTILsdg36ctDPQ5Gi/6lw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3625266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkjwkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNeA//aNWghLcEGz04bnSiNmXpru2MEe9QfAnmnZmBFutuYfU1dxZ8\r\nGRd9y8G3ZgGtiSQze6UltxHKKibl9YDpl35mcBy9Ql0zn8nGo+ha/D1W7kMb\r\nLbNfdMECyhG5t8Z8iAXZTgcby3v0q0DfHt2IzxXVxBC/WBRk6hkflKdZcIiy\r\niIegxedEv1lDPcSPCVKXUrUvgvIDWCmMZNxGupKVV+eDfxKyC+lwJFbtd6iJ\r\nOddBD0xnGXQyRYYN2Wd4xspPOrjN7tFmWu8yXOEEqBBjZ96t/eZdoL42BWok\r\npkW3CszkgMNPsXt9sl+a1dAOowjiVhPKk8sD6B3RKXHihKNBprC0YjLP0OUT\r\n478CNpOhU58B24Vi+CQdClX7GDbXvQwR8DoXXeY17kUhTWKrwRO0SYqDxVSb\r\nGCwJZR9KZM1SiofszAp3XMAXbnI9Co8Rv1++AmOraTInbtpucENjapnnXU8p\r\nfVAHR+fvmBQjNnez4IA/f+WKpsoD74KaA9W59jce47YcFNnKP51P72VnXUzi\r\nIEazneLEtYUZQpll38BmvAtHzXm2h74hlMy0CoOe71mGuVTpCH/I/qiW91hY\r\nu+oepYXkTTLrwtuKkQY8w3YEpOlFIr5bzf0nfxyiMoZ+4BOmyoMRxaptQFng\r\nQmvcs4V5Cbvvyx6G7i+ssVr+NF4C9d/pZ3A=\r\n=6zTD\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":"b57a0c9d3dfa0e4d8c12ca4adce3d5629b8cd9e2","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","wallet":"node 'build/lib/vmb-tests/bch-vmb-tests.live.spec.helper.js'","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","dev:vmb_tests":"yarn gen:vmb-tests && yarn build:tsc && ava src/lib/vmb-tests/bch-vmb-tests.spec.ts --serial --fail-fast","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:* gen:vmb-tests-prettier","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' && yarn run gen:vmb-tests:bch:reasons","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","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","gen:vmb-tests-prettier":"prettier 'src/lib/vmb-tests/generated/**/*.json' --write","test:unit:script_tests":"c8 ava --match='*[script_tests]*' --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","gen:vmb-tests:bch:reasons":"node 'build/lib/vmb-tests/bch-vmb-tests-invalid.spec.helper.js'","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"],"options":{"printWidth":400}},{"files":["src/lib/vmb-tests/*bch-vmb-tests*.spec.*ts"],"options":{"printWidth":80}},{"files":["src/lib/vmb-tests/generated/**/*.json"],"options":{"printWidth":10000}}],"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"9.1.1","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.18.1","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.11.3","ava":"^4.3.0","madge":"^5.0.1","chuhai":"^1.2.0","cspell":"^6.1.2","eslint":"8.17.0","rollup":"^2.75.6","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.17","elliptic":"^6.5.4","gh-pages":"^4.0.0","open-cli":"^7.0.1","prettier":"^2.7.0","puppeteer":"^14.4.0","secp256k1":"^4.0.3","browserify":"17.0.0","fast-check":"^3.0.0","typescript":"^4.7.3","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.30","standard-version":"^9.5.0","@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.1.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^22.0.0","@microsoft/api-extractor":"^7.25.0","eslint-plugin-functional":"^4.2.1","ts-json-schema-generator":"^1.0.0","@microsoft/api-documenter":"^7.17.17","@typescript-eslint/parser":"^5.28.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.28.0"},"_npmOperationalInternal":{"tmp":"tmp/libauth_2.0.0-alpha.7_1670528036655_0.7594814243259564","host":"s3://npm-registry-packages"},"_id":"@bitauth/libauth@2.0.0-alpha.7","version":"2.0.0-alpha.7"}