{"_id":"@bencmbrook/typescript-template","_rev":"1-db7c7d9cc1768a20658bae313a7399fc","name":"@bencmbrook/typescript-template","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bencmbrook/typescript-template","version":"1.0.0","license":"UNLICENSED","_id":"@bencmbrook/typescript-template@1.0.0","maintainers":[{"name":"bencmbrook","email":"ben@transcend.io"}],"bin":{"typescript-template":"dist/cli/cli.mjs"},"dist":{"shasum":"5c0a20d162adb38c3c5ab6a150117394e325775b","tarball":"https://registry.npmjs.org/@bencmbrook/typescript-template/-/typescript-template-1.0.0.tgz","fileCount":41,"integrity":"sha512-BHvt33Qo02aCuZYYSott6IIRvZhCltjBoQ2uA8bityFpgzBmRizj7/GKej4F7oh/Ia782oQAdfNS0Jgd9+bgyQ==","signatures":[{"sig":"MEUCIQCpT+HtdQT+nBRe2DNp435RTTh4wuE8v3blbYNJFAnkWAIgAhgkMuTKqvjD1+jfTPmN6puFJgzp9pr9w7YZaWCl+nc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14505},"main":"./dist/cjs/index.cjs","type":"module","types":"./dist/cjs/index.d.cts","module":"./dist/esm/index.js","exports":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"gitHead":"926e3a21418e6e303f3fb70e68e2837a2e7b13e6","scripts":{"lint":"concurrently -c auto \"pnpm:lint:*\"","test":"tsx --test test/**.test.ts","build":"del dist && rollup -c","start":"tsx bin/cli.ts","format":"prettier --write .","script":"tsx","lint:types":"tsc --noEmit","lint:eslint":"eslint .","lint:prettier":"prettier --check . --log-level warn","prepublishOnly":"pnpm lint && pnpm test && pnpm build","lint:test-types":"tsc --noEmit --project test/tsconfig.json"},"_npmUser":{"name":"bencmbrook","email":"ben@transcend.io"},"_npmVersion":"10.9.2","description":"TODO","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.23.8","consola":"^3.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0","devDependencies":{"tsx":"^4.19.2","eslint":"^9.18.0","rollup":"^4.24.4","del-cli":"^5.1.0","prettier":"^3.4.2","@eslint/js":"^8.57.1","typescript":"^5.7.3","@types/node":"22.x","concurrently":"^8.2.2","@types/eslint":"^9.6.1","@tsconfig/node22":"^22.0.0","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.21.0","@tsconfig/strictest":"^2.0.5","eslint-plugin-unicorn":"^56.0.1","@types/eslint__eslintrc":"^2.1.2","@rollup/plugin-typescript":"^11.1.6","@ianvs/prettier-plugin-sort-imports":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-template_1.0.0_1738770773812_0.9104474080359728","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bencmbrook/typescript-template","publishConfig":{"access":"public"},"type":"module","version":"1.0.1","description":"TODO","license":"UNLICENSED","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","bin":{"typescript-template":"dist/esm/bin/cli.mjs"},"scripts":{"dev":"tsx --watch src/index.ts","cli":"tsx src/bin/cli.ts","build":"del dist && tshy","script":"tsx --env-file=.env.local","test":"tsx --test test/**.test.ts","lint":"pnpm run --parallel --aggregate-output \"/^lint:*/\"","lint:prettier":"prettier --check . --log-level warn","lint:types":"tsc --noEmit","lint:test-types":"tsc --noEmit --project test/tsconfig.json","lint:eslint":"eslint .","format":"prettier --write .","prepublishOnly":"pnpm lint && pnpm test && pnpm build && pnpm publint"},"devDependencies":{"@eslint/js":"^8.57.1","@ianvs/prettier-plugin-sort-imports":"^4.4.0","@tsconfig/node22":"^22.0.0","@tsconfig/strictest":"^2.0.5","@types/eslint":"^9.6.1","@types/eslint__eslintrc":"^2.1.2","@types/eslint__js":"^8.42.3","@types/node":"22.x","del-cli":"^5.1.0","eslint":"^9.18.0","eslint-plugin-unicorn":"^56.0.1","prettier":"^3.4.2","publint":"^0.3.3","tshy":"^3.0.2","tsx":"^4.19.2","typescript":"^5.7.3","typescript-eslint":"^8.21.0"},"packageManager":"pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0","dependencies":{"consola":"^3.2.3","zod":"^3.23.8"},"tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"_id":"@bencmbrook/typescript-template@1.0.1","gitHead":"5f25ad63a91323b9ed9626d137fd5e712f188512","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-FEieqntBUQkLT5sph/jB/LXC0O55lvpygjIJYoBHMgs8cVfhhP8Nt3mWSCX/2f+mgITha19Wslgj1oYJWrQ+Nw==","shasum":"d8a7239e577e4fdd7d729383e23b5eb49a7b296e","tarball":"https://registry.npmjs.org/@bencmbrook/typescript-template/-/typescript-template-1.0.1.tgz","fileCount":22,"unpackedSize":8156,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDcipaP/5DMDiZjclRj7dupI4HO1XbsTnKMm/4EB1I85QIhAMhj1/ANuhA2nIXJTYA9O6QsL8vWpw5WFRC5jDw1Hx+B"}]},"_npmUser":{"name":"bencmbrook","email":"ben@transcend.io"},"directories":{},"maintainers":[{"name":"bencmbrook","email":"ben@transcend.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript-template_1.0.1_1738780398467_0.8664231347940636"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-05T15:52:53.684Z","modified":"2025-02-05T18:33:18.802Z","1.0.0":"2025-02-05T15:52:53.986Z","1.0.1":"2025-02-05T18:33:18.635Z"},"license":"UNLICENSED","description":"TODO","maintainers":[{"name":"bencmbrook","email":"ben@transcend.io"}],"readme":"# typescript-template\n\nStarter template for TypeScript projects. Using tsx, Node 22, ESLint, Prettier.\n\nPublishable Node modules (from `src/index.ts`) and a CLI (from `bin/cli.ts`) which is usable by npx.\n\nThe only dependency is `zod` (you can [remove it](#remove-zod)) and `consola` (for the CLI). Check out [extra boilerplate](#extra-boilerplate) for other common modifications.\n\n## Usage\n\n### TypeScript\n\n```ts\nimport { sayHello } from 'todo';\n\nsayHello({\n  message: 'world!',\n});\n```\n\n### CLI\n\n```console\n$ npx todo\n\nHello world!\n```\n\n## Developers\n\n```sh\npnpm install\n```\n\n```sh\npnpm start\n```\n\n### Publishing\n\n```sh\npnpm publish\n```\n\nThis runs lint, test, and build before publishing.\n\n### Extra boilerplate\n\n#### Remove zod\n\n```sh\npnpm remove zod\npnpm del src/validation.ts\n```\n","readmeFilename":"README.md"}