@c3s4/create-typescript-starter
v1.0.0
Published
Create script to create an node typescript app
Readme
create-typescript-starter
This is an opinionated starter project for creating a TypeScript project. It works as other crete-* projects, but it is focused on TypeScript.
How to use
To create a project based on this starter, you can run one of the following commands:
pnpm create @c3s4/typescript-starteror
yarn create @c3s4/typescript-starteror
npm create @c3s4/typescript-starterChoices I made
Use
tsxas Typescript executor, instead ofts-node, because it is more powerful and has better support for TypeScript features.Use
vitestas testing platform.Use my
eslintandprettierconfigurations. You caon obviously change them anytime, after the project is created.Prepare the project to be build as
cjsandesmmodules.Use differente
tsconfigfiles to configure different types of builds.
TODO
[ ] Use
tsupas bundler to build the project. This will solve the problem related to thecjsandesmmodules. But causes to have only one bundle.[ ] Ask if you want the project to be a library or an application. This will change the
tsconfig.jsonand thepackage.jsonscripts.
