{"_id":"@defolym3/router-sdk","name":"@defolym3/router-sdk","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@defolym3/router-sdk","version":"0.1.0","author":{"name":"@Uniswap"},"module":"dist/router-sdk.esm.js","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","publishConfig":{"access":"public"},"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepublishOnly":"npm run build","size":"size-limit","analyze":"size-limit --why"},"dependencies":{"@defolym3/sdk-core":"^0.1.0","@defolym3/v2-sdk":"^0.1.0","@defolym3/v3-sdk2":"^0.1.0","@uniswap/swap-router-contracts":"1.1.0","jsbi":"^3.1.4"},"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","husky":"^8.0.3","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.2","typescript":"^5.1.6"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/router-sdk.cjs.production.min.js","limit":"10 KB"},{"path":"dist/router-sdk.esm.js","limit":"10 KB"}],"_id":"@defolym3/router-sdk@0.1.0","gitHead":"d7024bc42700f6d9ad8c9468b370dae0cc678edd","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-gPPXqBXrBQBtiaqOQdC/pDcnUox9THCAU8tOAeP2UGxFW4ywW6nBh+94QrFib1KiJ5/VTzqjWViTaF/3l4aKWg==","shasum":"6117eef388a95ec0eca91679a47e8374cebe2b08","tarball":"https://registry.npmjs.org/@defolym3/router-sdk/-/router-sdk-0.1.0.tgz","fileCount":39,"unpackedSize":844331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpXS6YVO45lkFNSz5TA77cKyBK/Mvh3VBapfO5OqxyPAIgGuSQbllYrwRZxELHKSC5hDR9D5jE2FqMbBYyFzDiuH4="}]},"_npmUser":{"name":"defolym3","email":"defolym3@gmail.com"},"directories":{},"maintainers":[{"name":"defolym3","email":"defolym3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/router-sdk_0.1.0_1728017739683_0.9378609907653273"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-04T04:55:39.599Z","0.1.0":"2024-10-04T04:55:39.979Z","modified":"2024-10-04T04:55:40.348Z"},"maintainers":[{"name":"defolym3","email":"defolym3@gmail.com"}],"description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","author":{"name":"@Uniswap"},"license":"MIT","readme":"# TSDX User Guide\n\nCongrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.\n\n> This TSDX setup is meant for developing libraries (not apps!) that can be published to NPM. If you’re looking to build a Node app, you could use `ts-node-dev`, plain `ts-node`, or simple `tsc`.\n\n> If you’re new to TypeScript, checkout [this handy cheatsheet](https://devhints.io/typescript)\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`.\n\nTo run TSDX, use:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n## Configuration\n\nCode quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.\n\n### Jest\n\nJest tests are set up to run with `npm test` or `yarn test`.\n\n### Bundle Analysis\n\n[`size-limit`](https://github.com/ai/size-limit) is set up to calculate the real cost of your library with `npm run size` and visualize the bundle with `npm run analyze`.\n\n#### Setup Files\n\nThis is the folder structure we set up for you:\n\n```txt\n/src\n  index.tsx       # EDIT THIS\n/test\n  blah.test.tsx   # EDIT THIS\n.gitignore\npackage.json\nREADME.md         # EDIT THIS\ntsconfig.json\n```\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types, as well as `react` for `jsx`. Adjust according to your needs.\n\n## Continuous Integration\n\n### GitHub Actions\n\nTwo actions are added by default:\n\n- `main` which installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrix\n- `size` which comments cost comparison of your library on every pull request using [`size-limit`](https://github.com/ai/size-limit)\n\n## Optimizations\n\nPlease see the main `tsdx` [optimizations docs](https://github.com/palmerhq/tsdx#optimizations). In particular, know that you can take advantage of development-only optimizations:\n\n```js\n// ./types/index.d.ts\ndeclare var __DEV__: boolean;\n\n// inside your code...\nif (__DEV__) {\n  console.log('foo');\n}\n```\n\nYou can also choose to install and use [invariant](https://github.com/palmerhq/tsdx#invariant) and [warning](https://github.com/palmerhq/tsdx#warning) functions.\n\n## Module Formats\n\nCJS, ESModules, and UMD module formats are supported.\n\nThe appropriate paths are configured in `package.json` and `dist/index.js` accordingly. Please report if any issues are found.\n\n## Named Exports\n\nPer Palmer Group guidelines, [always use named exports.](https://github.com/palmerhq/typescript#exports) Code split inside your React app instead of your React library.\n\n## Including Styles\n\nThere are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.\n\nFor vanilla CSS, you can include it at the root directory and add it to the `files` section in your `package.json`, so that it can be imported separately by your users and run through their bundler's loader.\n\n## Publishing to NPM\n\nWe recommend using [np](https://github.com/sindresorhus/np).\n","readmeFilename":"README.md"}