A TypeScript starter template for your projects.
To use this template, you can follow these steps:
- Clone the repository:
git clone https://github.com/shinlms404/ts-starter.git your-project-name
- Navigate to the project directory:
cd your-project-name
- Install dependencies:
npm install
- Build the project:
npm run build
- Start coding!
Feel free to customize the template according to your project requirements.
npm run build
: Build the project using tsup.npm run lint
: Run ESLint to lint the code.npm run lint:fix
: Run ESLint with automatic fixes.npm run prepack
: Run prepackaging tasks.npm run prepare
: Set up simple-git-hooks.npm run release
: Bump the version and publish the package.npm run stub
: Build the project with tsup in esm format.npm test
: Run vitest for testing.npm run typecheck
: Run TypeScript type checking.npm run watch
: Watch for changes and rebuild using tsup.
This project is licensed under the MIT License - see the LICENSE file for details.
- Charlie Chan
- Email: shinlms404@gmail.com
- GitHub: shinlms404
For detailed information on the template, please visit the GitHub repository.