{"_id":"@7dpk/hapi-router","_rev":"1-fc1d93f129937162a636dc72d1f91018","name":"@7dpk/hapi-router","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"version":"0.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","type":"module","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","dev":"nodemon --exec ts-node-esm --transpiler sucrase/ts-node-plugin ./src/index.ts","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@7dpk/hapi-router","author":{"name":"7dpk"},"module":"dist/demots.esm.js","size-limit":[{"path":"dist/demots.cjs.production.min.js","limit":"10 KB"},{"path":"dist/demots.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","husky":"^8.0.3","nodemon":"^3.0.1","size-limit":"^8.2.6","sucrase":"^3.34.0","ts-node":"^10.9.1","tsdx":"^0.14.1","tslib":"^2.6.1","typescript":"^3.9.10"},"dependencies":{"@hapi/hapi":"^21.3.2","glob":"^10.3.3"},"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.","_id":"@7dpk/hapi-router@0.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-FW51ogpOc8Y6ln5ubND7NAAku5TzWmu/+Ap58DBNijSkyKeDI/5b23nluh3KJ1guTImpLxj0y4ixWEtYiSkPEQ==","shasum":"c3439bee06c986845b0c509f52c0e838ae1ae0e8","tarball":"https://registry.npmjs.org/@7dpk/hapi-router/-/hapi-router-0.1.0.tgz","fileCount":14,"unpackedSize":54471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJDkcFs7yj6VRKgTnSgOINSvqNFfScn0I0Rxw0oYPvQAIhAKx1Im+6apZ+KEVqKwz/n37Rv+xzyfPoC5uiJ1lbO9XQ"}]},"_npmUser":{"name":"7dpk","email":"deepakprakashx@gmail.com"},"directories":{},"maintainers":[{"name":"7dpk","email":"deepakprakashx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hapi-router_0.1.0_1691571235658_0.829949191446081"},"_hasShrinkwrap":false},"0.1.1":{"version":"0.1.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","type":"module","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","dev":"nodemon --exec ts-node-esm ./test/index.ts","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@7dpk/hapi-router","author":{"name":"7dpk"},"module":"dist/demots.esm.js","size-limit":[{"path":"dist/demots.cjs.production.min.js","limit":"10 KB"},{"path":"dist/demots.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","husky":"^8.0.3","nodemon":"^3.0.1","size-limit":"^8.2.6","sucrase":"^3.34.0","ts-node":"^10.9.1","tsdx":"^0.14.1","tslib":"^2.6.1","typescript":"^3.9.10"},"dependencies":{"@7dpk/hapi-router":"^0.1.0","@hapi/hapi":"^21.3.2","glob":"^10.3.3"},"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.","_id":"@7dpk/hapi-router@0.1.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Pm64yz6oVgQ4ok0dUwAdGWw1AiuWi1PaeRKnKVfpW+Ls9tFthjOXRysjD1ZY9iape5ikw+NMCEX+ZLrZcr3pxw==","shasum":"5142ece54de07e4270d0b1dc67d58da4f7c40875","tarball":"https://registry.npmjs.org/@7dpk/hapi-router/-/hapi-router-0.1.1.tgz","fileCount":14,"unpackedSize":55087,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD94z0UbKJzaStTzgtJcRrJxo13FOPSdprp/XHJ8+NGnQIgVReKOcQOYtkJhWO857XvfgCilIPJ62W5WQZjbWem8+0="}]},"_npmUser":{"name":"7dpk","email":"deepakprakashx@gmail.com"},"directories":{},"maintainers":[{"name":"7dpk","email":"deepakprakashx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hapi-router_0.1.1_1691579045641_0.6936909709817958"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-09T08:53:55.505Z","0.1.0":"2023-08-09T08:53:55.806Z","modified":"2023-08-09T11:04:06.085Z","0.1.1":"2023-08-09T11:04:05.907Z"},"maintainers":[{"name":"7dpk","email":"deepakprakashx@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":"7dpk"},"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"}