{"_id":"tw-catalyst-commons","_rev":"1-4eb167d19a0abd3614c05fb4c69c5404","name":"tw-catalyst-commons","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"tw-catalyst-commons","version":"0.0.1","description":"Common tools and types to share between catalyst servers and clients","main":"dist/index.js","typings":"./dist/index.d.ts","scripts":{"prebuild":"rm -rf dist","build":"tsc --project tsconfig-build.json","prewatch":"rm -rf dist","watch":"tsc --watch --project tsconfig-build.json","test":"nyc mocha -r ts-node/register -r tsconfig-paths/register --exit \"test/**/*.spec.ts\"","commit-msg":"validate-commit-msg","lint:fix":"yarn eslint '**/*.{js,ts,tsx}' --quiet --fix","lint:check":"yarn eslint '**/*.{js,ts,tsx}' --quiet"},"nyc":{"all":true,"include":["src"],"extension":[".ts"],"reporter":["text-summary"],"sourceMap":true,"instrument":true},"repository":{"type":"git","url":"git+https://github.com/telestoworld/catalyst-commons.git"},"keywords":["telestoworld"],"author":{"name":"Telestoworld"},"license":"Apache-2.0","bugs":{"url":"https://github.com/telestoworld/catalyst-commons/issues"},"homepage":"https://github.com/telestoworld/catalyst-commons#readme","dependencies":{"@types/isomorphic-fetch":"0.0.35","@types/ms":"^0.7.31","@typescript-eslint/eslint-plugin":"^4.9.0","@typescript-eslint/parser":"^4.9.0","abort-controller":"^3.0.0","blob-to-buffer":"^1.2.9","cids":"^0.8.0","cross-fetch":"^3.0.5","tw-crypto":"^2.1.0","eslint":"^7.14.0","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.2.0","ms":"^2.1.2","multihashing-async":"^0.8.1","prettier":"^2.2.1"},"devDependencies":{"@types/chai":"^4.2.8","@types/chai-as-promised":"^7.1.2","@types/mocha":"^8.2.0","@types/sinon":"^9.0.10","chai":"^4.2.0","chai-as-promised":"^7.1.1","husky":"^5.0.9","mocha":"^8.2.1","mockttp":"^1.0.3","nyc":"^15.1.0","sinon":"^9.2.4","ts-mockito":"^2.6.1","ts-node":"^9.1.1","tsconfig-paths":"^3.9.0","typescript":"^4.1.3","validate-commit-msg":"^2.14.0"},"prettier":{"semi":false,"singleQuote":true,"printWidth":120,"trailingComma":"none"},"gitHead":"f85ed20960b12523aeac31ae9db40e0d972cd047","_id":"tw-catalyst-commons@0.0.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-6UALDn5YRHTudbMPZPbf6g5vz7bLGCj6vRkZfgNg/ZX3FNPna8RKsOpwhsp2ECygIxr7Vwrr4IOjZA2PMkzDlg==","shasum":"eba4941357e171d4a05b556e351d7c84d72cde06","tarball":"https://registry.npmjs.org/tw-catalyst-commons/-/tw-catalyst-commons-0.0.1.tgz","fileCount":6,"unpackedSize":6824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcyp2CRA9TVsSAnZWagAA3u8QAJiysFU7+0q15FY24aMZ\nGMeFJzZwBaCgkuv76ptmJ+7SIyKWA0kIvNNmiSKNA2pCsVujZm3viQPpUhSQ\nrgQ9rdBWuJq5m5XNTeqSyE1yzM+Sm57j0i/Ui/LR8fYMtPIUfd0aNkQlk89Z\nj1Md6ROxy7cerri8Fz3G+J1r4yKZqvemZ6904YzfdAhZVXK4LW2s9aBQxeiv\nf0ZIAGTU/IpMA+IhsnA3KnhIhotic0DG6/25LVCzVq2neMatg8d/AGbOVSsb\nJkTnpLGceJpOpb1bRbdLhAEpOlPF50TqmvmGhNt+ne4BdLP8k+Zdw9h9Cqy2\nzOc5m/ZtnfDB9IqXkpGE0XwzLTvMakXsnVN5fPBSOTnASxqdEJbOW8mr0gAX\nFlXGr0Gz8QtXdpRKaR4jFxNkhZ+MZUn3StJibnwRv8S6YMOW8RQS6fMtoWP5\nTR+dpHvwvKq1+eQTx/jwp0Xj5YYfCrpf/FuJ5WCfPK/mlCbDEm324p2Cz4X3\nZft6z/7i165jHOqVQFIaNxqZQnrUFRR1Azi201laOPPtzU1WCk7iYrZalUz9\nV3pbmxKHhzjHPV5QZSPFAA3+mULIpvaCARjd2E+V9AKFt7JEmToST3CaPRcc\nW2XtFxADUw/HoRPWGlWjGTuNKpJRYb5iUH5Jem4aeuOb0PDffyfDs9HijOnD\n9QVf\r\n=VnFy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4WhpOrRw5AEYmMQ/H42PePgu0uIrWAmF0Ju1Tp5CX3QIhANXVRcubzBQjsbIWUOFLIsplFStSYV2NtUGlIZyRXTd0"}]},"_npmUser":{"name":"telesto-world","email":"npm@telesto.world"},"directories":{},"maintainers":[{"name":"telesto-world","email":"npm@telesto.world"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tw-catalyst-commons_0.0.1_1618160245649_0.42500041751432316"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-11T16:57:25.649Z","0.0.1":"2021-04-11T16:57:25.772Z","modified":"2022-05-22T10:44:12.656Z"},"maintainers":[{"name":"telesto-world","email":"npm@telesto.world"}],"description":"Common tools and types to share between catalyst servers and clients","homepage":"https://github.com/telestoworld/catalyst-commons#readme","keywords":["telestoworld"],"repository":{"type":"git","url":"git+https://github.com/telestoworld/catalyst-commons.git"},"author":{"name":"Telestoworld"},"bugs":{"url":"https://github.com/telestoworld/catalyst-commons/issues"},"license":"Apache-2.0","readme":"# catalyst-commons\r\n\r\nCommon tools and types to share between catalyst servers and clients\r\n\r\n## Contributing\r\n\r\n### Build and test\r\n\r\n```\r\nnpm install\r\nnpm run build\r\nnpm run test\r\n```\r\n\r\n### [Releases](https://registry.npmjs.org/tw-catalyst-commons)\r\n\r\n#### Stable Releases\r\n\r\nTo publish a new release, a tag following [SemVer](https://semver.org/) must be done in `master` branch following the format: `MAJOR.MINOR.PATCH` and that will trigger a Github Workflow that publishes the new version of the library, tagging it as `latest`.\r\n\r\n#### Master Releases\r\n\r\nEvery commit to `master` branch triggers a NPM Publish with the beta version following the convention `NEXT_MAJOR.NEXT_MINOR.NEXT_PATCH-TIMESTAMP.commit-COMMIT_SHA`, tagging it as `next`.\r\n\r\n#### Tag Releases\r\n\r\nIf you need to publish a NPM package in a work in progress commit, then you can create a Github Tag, and that will trigger an automatically NPM publish following the convention `NEXT_MAJOR.NEXT_MINOR.NEXT_PATCH-TIMESTAMP.commit-COMMIT_SHA` and tagging it on NPM with your custom tag: `tag-CUSTOM_TAG`.\r\n","readmeFilename":"README.md"}