{"_id":"@chanceprotocol/utilities","name":"@chanceprotocol/utilities","dist-tags":{"latest":"0.7.0"},"versions":{"0.7.0":{"name":"@chanceprotocol/utilities","version":"0.7.0","description":"Shared utility functions across PoolTogether apps","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/pooltogether/pooltogether-utilities.git"},"author":{"name":"PoolTogether Inc."},"license":"MIT","module":"dist/utilities.esm.js","engines":{"node":">=12"},"dependencies":{},"peerDependencies":{"ethers":"^5.4.6"},"devDependencies":{"@ethersproject/address":"^5.1.0","@ethersproject/constants":"^5.1.0","@ethersproject/providers":"^5.1.0","@ethersproject/abstract-signer":"^5.1.0","@ethersproject/abstract-provider":"^5.1.0","@ethersproject/contracts":"^5.1.0","@ethersproject/units":"^5.1.0","@ethersproject/strings":"^5.1.0","@ethersproject/keccak256":"^5.1.0","@ethersproject/bignumber":"^5.1.0","@ethersproject/abi":"^5.1.0","@size-limit/preset-small-lib":"^7.0.3","@types/node":"^15.0.2","ethers":"^5.4.6","husky":"^7.0.4","size-limit":"^7.0.3","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.8.3"},"husky":{"hooks":{"pre-commit":"tsdx lint:fix"}},"prettier":{"printWidth":100,"tabWidth":2,"semi":false,"singleQuote":true,"quoteProps":"consistent","jsxBracketSameLine":false,"jsxSingleQuote":true,"arrowParens":"always","trailingComma":"none"},"size-limit":[{"path":"dist/utilities.cjs.production.min.js","limit":"111 KB"},{"path":"dist/utilities.esm.js","limit":"72 KB"}],"scripts":{"start":"tsdx watch --onSuccess \"yalc push\"","build":"tsdx build","reinstall":"rm -rf node_modules && yarn install","test":"tsdx test","lint":"tsdx lint","lint:fix":"tsdx lint --fix","size":"size-limit","analyze":"size-limit --why"},"bugs":{"url":"https://github.com/pooltogether/pooltogether-utilities/issues"},"homepage":"https://github.com/pooltogether/pooltogether-utilities#readme","_id":"@chanceprotocol/utilities@0.7.0","_integrity":"sha512-GmaWHdbw86L2M9xCHtM2duS5pCpAu7AIbyJSm2OHQQs/Z7OARO/aNGBIqi8khUsoJIlL1TTSUC3YzlgKqCTuIg==","_resolved":"/tmp/fe0664923c3e72866ae8bb8f3d5057df/chanceprotocol-utilities-0.7.0.tgz","_from":"file:chanceprotocol-utilities-0.7.0.tgz","_nodeVersion":"16.15.1","_npmVersion":"9.6.5","dist":{"integrity":"sha512-GmaWHdbw86L2M9xCHtM2duS5pCpAu7AIbyJSm2OHQQs/Z7OARO/aNGBIqi8khUsoJIlL1TTSUC3YzlgKqCTuIg==","shasum":"1ff0611d26ffa0cd66ec85168ae091078f91affe","tarball":"https://registry.npmjs.org/@chanceprotocol/utilities/-/utilities-0.7.0.tgz","fileCount":29,"unpackedSize":426019,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIDGdwSyOJHjgRRnIanThG4OswyEFoVtvAl5kt1luEdAIgEbeN708Wd8IcXAvkYF6NkqmWkEwiU7yv7RPt80JyL7Y="}]},"_npmUser":{"name":"chanceprotocol","email":"chance@netixsol.com"},"directories":{},"maintainers":[{"name":"chanceprotocol","email":"chance@netixsol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utilities_0.7.0_1692257295371_0.47531969812272035"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-17T07:28:15.306Z","0.7.0":"2023-08-17T07:28:15.621Z","modified":"2023-08-17T07:28:15.862Z"},"maintainers":[{"name":"chanceprotocol","email":"chance@netixsol.com"}],"description":"Shared utility functions across PoolTogether apps","homepage":"https://github.com/pooltogether/pooltogether-utilities#readme","repository":{"type":"git","url":"git+ssh://git@github.com/pooltogether/pooltogether-utilities.git"},"author":{"name":"PoolTogether Inc."},"bugs":{"url":"https://github.com/pooltogether/pooltogether-utilities/issues"},"license":"MIT","readme":"# PoolTogether utilities\n\nA collection of various utility functions used across the PoolTogether applications.\n\n## NOTE\n\nMake sure you keep `peerDependencies` and `devDependencies` versions in sync!\n\n## How to use\n\n1. `yarn add @chanceprotocol/utilities`\n2. `import * as Utils from '@chanceprotocol/utilities'` OR `import { functionYouWantToUse } from '@chanceprotocol/utilities'`\n\n## Local development\n\nLocal development works best with yalc\n`yarn global add yalc`\n\nIn pooltogether-utilities:\n`yarn start`\n\nIn the app you're importing pooltogether-utilities:\n`yalc link @chanceprotocol/utilities`\n\nWhen you save changes inside the utilities `src` folder, the package will rebuild and be pushed to all other projects that have run `yalc link @chanceprotocol/utilities`.\n\n## TODO:\n\n- moooooore tests\n","readmeFilename":"README.md"}