{"ava":{"files":["!build/module/**"],"timeout":"20s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.bench.js","**/*.spec.js","**/*.spec.helper.js","**/*.spec.debug.js"],"extends":"@istanbuljs/nyc-config-typescript"},"bugs":{"url":"https://github.com/bitauth/libauth/issues"},"dist":{"shasum":"2c196ba17b4ceab6392cfaaf5bf90e0f912c1be5","tarball":"https://registry.npmjs.org/@bitauth/libauth/-/libauth-1.15.4.tgz","fileCount":863,"integrity":"sha512-JTzw+bDmG9NBXNEqkOTb7E06fb/n4QaW0fUD0V8mZTkCotbF04NZll3CBVGNwXaaiU+y7QIc/HnklAv0GOgIIA==","signatures":[{"sig":"MEUCIH9nLy1AkwgwRrUl3GKxM6OAv5ndqWPwnzM0zqQsStHnAiEApojVCPbb/1iDpmi4Ft1YS3PFo5BXnIo4oFHQx0XmOAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5232333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDg9bCRA9TVsSAnZWagAARxIP/1kD/S+AQSqDm1XvMwqQ\n9nIDfPSf/7vFwkfWwLvxNL6mFHerm8EQaE3jUip7PScUfphtDdcS7H2jLwkb\nL1gFBYcQZ4gDLQfIKc932BYzc7gjYfHtqxLtW1SYX3o8RrgmumYKfzVIJCkE\n4Z1CNhNovCiNifsb+HTGAXnxIhMj5/3f8Np36x8GibEBWhg+isfkA8Df+uB8\nKMQZDcy2r+zxIAjRLQG+MoUi/YW0i5HAOUyVCXNSK5gp8zY0oqKX6w2NiGyG\ns+gqnPxaPC8NAHrQw4SXMabTM84COBcVhIcZ7VVHFYdm9ZwaiuZIDgkYc4h1\njRK8xiiS/UxjhuX7L9suFpYwGkY/4HddGxTTXv1e/cC8jzx5ePqcwzoTGmUr\nFh/r7BaTe3S4bAb5VkFGTDP/1JjxMZvtWq62D1ftpWpmN0PkG2bsC45BxTEl\n3rjn/Hb80ONH7CvIa463U6XRj/OK+fsZJ/ORGDkBdpFSAShUs3ElqJ4QBB70\n3hNJS3j0z40N4GNDdzpEnvQj3THRGeXfZxMnfNCvvV+7Q8wHVSNa7QhYZy8V\naV9xT+1kfIUjLaFdSWaQ7MJOAz8G/rHMV9T45wVcuuTIx1tGsm3TGWjUdXfW\nYE5TKF/d6YWsvCpnF0eF0zDpUUZgLS+NS8kFjmEFVQbmGt2hg5Djmmk3Fha1\nbtio\r\n=M9bP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","name":"@bitauth/libauth","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=8.9"},"gitHead":"80195bbbf74975a6161ac6f79e7f637cf7981d40","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:*","info":"npm-scripts-info","test":"run-s build test:*","bench":"run-s build bench:browser-deps bench:test","build":"run-s clean && run-p build:*","clean":"trash build test","reset":"git clean -dfx && git reset --hard && yarn","watch":"run-s clean build:main build:wasm && yarn build:main -- -w","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc 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","cov:check":"nyc report && nyc check-coverage --lines 85 --functions 80 --branches 65","doc:cname":"node -e \"console.log('libauth.org')\" > build/docs/CNAME","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","bench:test":"ava --config .ava.bench.config.js --serial --timeout=2m","build:main":"tsc -p tsconfig.json","build:wasm":"run-p copy:wasm:secp256k1 copy:wasm:sha1 copy:wasm:sha256 copy:wasm:sha512 copy:wasm:ripemd160","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","build:module":"tsc -p config/tsconfig.module.json","doc:generate":"api-documenter markdown -i temp -o docs/markdown","fix:prettier":"prettier \"src/**/*.ts\" --write","watch:module":"run-s clean build:main build:wasm && yarn build:module -- -w","watch:single":"echo 'Usage: yarn watch:single --match=\"*pattern*\"' && ava -v --watch","doc:check-api":"api-extractor run --typescript-compiler-folder node_modules/typescript","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","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 src/lib/bin/sha1/sha1.wasm build/main/lib/bin/sha1 && cpy src/lib/bin/sha1/sha1.wasm build/module/lib/bin/sha1","test:unit:fast":"nyc --silent ava --match='!*[fast-check]*' --match='!*[crypto]*' --match='!*[script_tests]*' --match='!*[signing-serialization tests]*' --match='!*[BCH compiler]*' --match='!*[BCH VM]*'","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 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","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","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","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","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","compile:debug:hashes":"docker run -it libauth-hashes bash","test:unit:fast-check":"nyc --silent ava --match='*[fast-check]*","doc:generate-templates":"node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'p2pkh' > src/lib/transaction/fixtures/templates/p2pkh.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-3' > src/lib/transaction/fixtures/templates/2-of-3.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '2-of-2-recoverable' > src/lib/transaction/fixtures/templates/2-of-2-recoverable.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' '1-of-8-tree' > src/lib/transaction/fixtures/templates/1-of-8-tree.json && node 'build/main/lib/transaction/fixtures/generate-templates.spec.helper.js' 'sig-of-sig' > src/lib/transaction/fixtures/templates/sig-of-sig.json && node 'build/main/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","test:unit:script_tests":"nyc --silent ava --match='*[script_tests]*' --verbose --serial","compile:debug:secp256k1":"docker run -it libauth-secp256k1 bash","doc:generate-json-schema":"ts-json-schema-generator --path 'src/lib/template/template-types.ts' --type 'AuthenticationTemplate' > src/lib/template/bitauth-authentication-template.schema.json"},"typings":"build/module/index.d.ts","_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":{"singleQuote":true},"repository":{"url":"git+https://github.com/bitauth/libauth.git","type":"git"},"_npmVersion":"6.14.5","description":"ultra-lightweight library for Bitcoin, Bitcoin Cash, and Bitauth","directories":{},"greenkeeper":{"ignore":["@types/node"]},"maintainers":[{"name":"jasondreyzehner","email":"jason@dreyzehner.com"}],"_nodeVersion":"12.18.1","dependencies":{},"scripts-info":{"cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","fix":"Try to automatically fix any linting problems","info":"Display information about the package scripts","test":"Lint and unit test the project","bench":"Build the project and run the benchmarks","build":"Clean and rebuild the project","reset":"Delete all untracked files and reset the repo to the last commit","watch":"Watch and rebuild the project on save, then rerun relevant tests","compile":"Compile the WebAssembly binaries and integrate them into src","version":"Bump package.json version, update CHANGELOG.md, tag release","doc:json":"Generate API documentation in typedoc JSON format","prepare-release":"One-step: clean, build, test, publish docs, and prep a release","watch:with-crypto":"Like 'watch', but also including tests for the crypto APIs","compile:debug:secp256k1":"Run the compile:secp256k1 Docker container in interactive mode","compile:inspect:secp256k1":"Format the compile:secp256k1 output for easier review"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","nyc":"^15.1.0","chuhai":"^1.2.0","cspell":"^4.0.63","eslint":"^7.2.0","rollup":"^2.17.0","bcrypto":"^5.2.0","codecov":"^3.7.0","cpy-cli":"^3.1.1","express":"^4.17.1","hash.js":"^1.1.5","ts-node":"^8.10.2","typedoc":"^0.17.7","elliptic":"^6.5.3","gh-pages":"^3.0.0","open-cli":"^6.0.1","prettier":"^2.0.5","puppeteer":"^4.0.0","secp256k1":"^4.0.1","trash-cli":"^3.0.0","browserify":"^16.5.1","fast-check":"^1.25.1","typescript":"^3.9.5","npm-run-all":"^4.1.5","asmcrypto.js":"^2.3.2","@types/express":"^4.17.6","ava-fast-check":"^1.1.2","@ava/typescript":"^1.1.1","@types/elliptic":"^6.4.12","@types/puppeteer":"^3.0.0","bitcore-lib-cash":"^8.20.4","standard-version":"^8.0.0","@types/browserify":"^12.0.33","source-map-support":"^0.5.19","eslint-plugin-tsdoc":"^0.2.5","@rollup/plugin-alias":"^3.1.1","eslint-plugin-import":"^2.21.2","eslint-config-bitauth":"^2.0.0","eslint-config-prettier":"^6.11.0","@rollup/plugin-commonjs":"^13.0.0","@microsoft/api-extractor":"^7.8.12","eslint-plugin-functional":"^3.0.1","ts-json-schema-generator":"^0.70.1","@bitjson/npm-scripts-info":"^1.0.0","@microsoft/api-documenter":"^7.8.13","@typescript-eslint/parser":"^3.3.0","cz-conventional-changelog":"^3.2.0","@rollup/plugin-node-resolve":"^8.0.1","eslint-plugin-eslint-comments":"^3.2.0","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/libauth_1.15.4_1594756954842_0.07119593900969479","host":"s3://npm-registry-packages"},"_id":"@bitauth/libauth@1.15.4","version":"1.15.4"}