Let's all share the commands that we run when bootstrapping a new project, maybe we can all get to know a few new tools that can help us create our future projects!
Here's my list:
I always use git, so this is usually the first command I run.
Most of my projects are related to web development and this is an easy way to create a
If my project uses TypeScript, this command generates a
tsconfig.json with great documentation about all the configuration properties.
As I use git in every project, I need to have a
.gitignore to prevent committing some files. For example, running
npx gitignore node will generate a
.gitignore file for this kind of project.
There are multiple types supported, you can check the list by running
npx gitignore -types
This one allows you to choose a license for your project and then it will generate its corresponding
LICENSE file, and that's great if you want to make your project open source.
That would be it for me, now it's your turn to share with us the commands you use the most when you start a new project.