package-starter-template
v0.0.1
Published
🚀 Kickstart your next Node.js package with this pre-configured TypeScript template. Get up and running in minutes!
Downloads
6
Maintainers
Readme
Package Starter 🚀
Kickstart your next Node.js package with this pre-configured TypeScript template. Get up and running in minutes!
✨ Features
- TypeScript: Enjoy type safety and improved code quality.
- Jest: Write comprehensive tests with ease.
- Biome: Maintain a consistent code style with automated linting and formatting.
- rimraf: Easily clean your build directory.
- release-it: Automatically generate release notes, tag ... and publish your release.
- Built and signed via GitHub Actions: Create a GitHub release and your package will be published automatically.
🚀 Quick Start
You can quickly create a new repository from this template by clicking the Use this template button at the top of the repository page on GitHub.
Alternatively, you can use npx degit
to scaffold a new project from this template:
Scaffold the project:
npx degit lehuygiang28/package-starter my-package cd my-package
Install dependencies:
npm install
You can also clone the repository manually:
Clone the repository:
git clone https://github.com/lehuygiang28/package-starter.git my-package cd my-package
Install dependencies:
npm install
🧰 Scripts
build
: Builds the projectprepare
: Prepares the project for publishingtest
: Runs the teststest:cov
: Runs the tests with coveragelint
: Lints the codelint:fix
: Lints the code and fixes any errorsformat
: Formats the codeformat:fix
: Formats the code and fixes any errorsrelease
: Releases the projectrelease:pre
: Pre-releases the project
🛠️ Development Recommendations
- Install the Biome extension for a seamless development experience.
🙌 Contributing
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.