{"_id":"@c3s4/create-typescript-starter","name":"@c3s4/create-typescript-starter","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@c3s4/create-typescript-starter","version":"1.0.0","description":"Create script to create an node typescript app","license":"MIT","main":"dist/index.js","type":"module","bin":{"create-typescript-starter":"dist/index.js"},"types":"dist/index.d.ts","devDependencies":{"@eslint/js":"^9.9.0","@types/figlet":"^1.5.8","@types/node":"^22.4.1","@types/validate-npm-package-name":"^4.0.2","@typescript-eslint/eslint-plugin":"^8.2.0","@typescript-eslint/parser":"^8.2.0","eslint":"^9.9.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","prettier":"^3.3.3","tsup":"^8.2.4","tsx":"^4.18.0","typescript":"^5.5.4","typescript-eslint":"^8.2.0"},"dependencies":{"@inquirer/prompts":"^5.3.8","execa":"^9.3.1","figlet":"^1.7.0","validate-npm-package-name":"^5.0.1"},"scripts":{"build":"rm -rf dist && tsup src/index.ts --format esm","lint":"eslint","lint:fix":"eslint --fix","dev":"tsx src/index.ts"},"_id":"@c3s4/create-typescript-starter@1.0.0","_integrity":"sha512-0Gzduoey74h+2O+p+IhI7GiOJ5uAGI/x8ui3ohBHzP1ALCPJ5jCaSqDnxmHgUFebhJMc7QqnePXHIKFNQMfDAg==","_resolved":"/tmp/1c4fa3f930468dd261273e5336436ced/c3s4-create-typescript-starter-1.0.0.tgz","_from":"file:c3s4-create-typescript-starter-1.0.0.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0Gzduoey74h+2O+p+IhI7GiOJ5uAGI/x8ui3ohBHzP1ALCPJ5jCaSqDnxmHgUFebhJMc7QqnePXHIKFNQMfDAg==","shasum":"dafeae880542fd9ad8564b436020a618ca258311","tarball":"https://registry.npmjs.org/@c3s4/create-typescript-starter/-/create-typescript-starter-1.0.0.tgz","fileCount":13,"unpackedSize":9148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCNhMo2cgWySrI7jmRkvQfTiSOMa9CuOOedHSJeFdCqAiA9+Uuu7mgpMHXv/Xa4LlgoTrTVGZUvuUIwKCksD8suKg=="}]},"_npmUser":{"name":"vivalafiestaaa","email":"davide.cesaroni@gmail.com"},"directories":{},"maintainers":[{"name":"vivalafiestaaa","email":"davide.cesaroni@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-typescript-starter_1.0.0_1727357416281_0.7740223252870571"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-26T13:30:16.211Z","1.0.0":"2024-09-26T13:30:16.487Z","modified":"2024-09-26T13:30:16.825Z"},"maintainers":[{"name":"vivalafiestaaa","email":"davide.cesaroni@gmail.com"}],"description":"Create script to create an node typescript app","license":"MIT","readme":"# create-typescript-starter\n\nThis is an opinionated starter project for creating a TypeScript project.\nIt works as other _crete-\\*_ projects, but it is focused on TypeScript.\n\n## How to use\n\nTo create a project based on this starter, you can run one of the following commands:\n\n```bash\npnpm create @c3s4/typescript-starter\n```\n\nor\n\n```bash\nyarn create @c3s4/typescript-starter\n```\n\nor\n\n```bash\nnpm create @c3s4/typescript-starter\n```\n\n## Choices I made\n\n- Use `tsx` as Typescript executor, instead of `ts-node`, because it is more\n  powerful and has better support for TypeScript features.\n\n- Use `vitest` as testing platform.\n\n- Use my `eslint` and `prettier` configurations. You caon obviously change them anytime, after the project is created.\n\n- Prepare the project to be build as `cjs` and `esm` modules.\n\n- Use differente `tsconfig` files to configure different types of builds.\n\n## TODO\n\n- [ ] Use `tsup` as bundler to build the project. This will solve the problem related to the `cjs` and `esm` modules. But causes to have only one bundle.\n\n- [ ] Ask if you want the project to be a library or an application. This will change the `tsconfig.json` and the `package.json` scripts.\n","readmeFilename":"README.md"}