{"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":"40001bf315fea5ad6dbe5dcb833f45bd4679b1ce","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-2.0.0-alpha.1.tgz","fileCount":514,"integrity":"sha512-vazRIybJfU5napr3AU40v19+QBvIYx9HVgx5usI1J6OIh5WPLGT4cfymJQOKH6Bu4qPZU9GWz/VsgfM3DyQ5Hg==","signatures":[{"sig":"MEUCIQCK8X98Tft7tgfRv2fO1kI1Nh/kQ1XJiwCzma1vphYvegIgZtjfaTrhgqKehlSu7KhT58RaocRYckZOrnacrzuhRss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3469269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihdOJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowoA/+KlTKPy0rGlWXccSNbi/IEFDOV04/bk2wg+SC2CX/gdxv6CRU\r\nnriUp1uodpB153cDmdMr5Gxo18G5vTdvvoFPxVyZzVq0rOjIwghWIS5WG+N6\r\n5x2G7CBSqXWYlqZfoS/F66/sDm0EV3szpsdU/y5N1Sp4kxNvdLKmexrx1/nw\r\nm/a7+rAqLR4oH6gPzbw1ArjhxayBr/0BIQ65KWnxci7/Pfe9fj9Fz9KhQ1UT\r\nXt7ne3yH3yBGFvdd7t3x0E60tmeUjmpaXkvTCeSMgJT2IMBLjRYDb5RseZJH\r\nMaQzz1FVotpPwS/Y7zOIdf27lb1okbpHYhQc49BBBoa/BfRyKWy2DvlVG+hd\r\n1DdUm+HDKYip0Y0EHr4wqmNVGHT5Xsny7kKBfwdV4TMY6uWfZTgmgpg7FJ47\r\nfBBkIM+V6PS0Njnp+ZjhSBGYEeYvXLzuU12sUlmWQ0+jEyWrRyWjgmQPSqcd\r\nz8BqtT356gLTgyCK10nP5J88FUvNNdvlMf5hpeaTfEn7ya/sEstUreXI9wgX\r\ndowyCB31FcvJQ3u27Yw8w+eDAudkXTNW2sbUzoW7KBEdd/6LXrMmYB/zXGNf\r\n5skd6K8AtxIWXBlQ1uPWPuuG3EkVKtCT94he0+dVKMEFAuIKrQwFAVok2xKr\r\nApHmvrFyNYI5cDjPegqWXLE4CPcQdn/K3g4=\r\n=a/L4\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":"4e05b156eb1cff40cad8c60e25fada8143ce70c6","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.1_1652937608994_0.4739272697285388","host":"s3://npm-registry-packages"},"_id":"@bitauth/libauth@2.0.0-alpha.1","version":"2.0.0-alpha.1"}