This tool allows you to quickly initialize a Node.js project with TypeScript fully configured and ready to use. The main goal is to save time and effort by eliminating the need to manually create each configuration file, install dependencies one by one, and configure each tool from scratch.
With this script, you get a complete modern development environment in seconds, with all essential tools preconfigured according to best practices. What would normally take hours of manual setup is reduced to a simple command, allowing you to immediately focus on what really matters: developing your application.
- Ready to use TypeScript
- ESLint and Prettier configured
- Husky for git hooks
- Commit validation with commitlint
- GitHub Actions CI configured
- Environment variables support with dotenv
# Clone the repository
git clone https://github.com/username/$(basename "$PWD").git
cd $(basename "$PWD")
# Install dependencies
npm install
To start the development server:
npm run dev
To compile the project:
npm run build
To run the compiled version:
npm start
npm run dev
: Starts the development server with hot-reloadnpm run build
: Compiles the project for productionnpm start
: Runs the compiled version of the projectnpm run lint
: Runs the linter to check the code
├── .github/ # GitHub Actions configuration
├── node_modules/ # Dependencies (generated)
├── src/ # Source code
├── dist/ # Compiled code (generated)
├── .env # Environment variables
├── .eslintrc.json # ESLint configuration
├── .gitignore # Files ignored by git
├── .prettierrc # Prettier configuration
├── package.json # Dependencies and scripts
└── tsconfig.json # TypeScript configuration
© Carlos Azaustre.
This project is licensed under the MIT License - see the LICENSE file for details.