0.0.2 ⢠Published 11 months ago
npm-package-stack v0.0.2
š Npm Package Stack
A minimal starter kit designed to build and publish a npm package with ease.
The Stack includes
- Typescript for type safe and maintainable npm package
- tsup for build the package
- Biome for formatting and linting
- pnpm as fast, efficient package-manager
Installation
- Clone the repository
git clone https://github.com/rahu1gg/npm-package-stack.git
- Navigate to the directory
cd npm-package-stack
- Make sure you edit the below properties in the
package.json
file- name
- version
- description
- homepage
- repository
- keywords
- author
- license
- Install dependencies
pnpm install
- Building the package
pnpm build
Make sure you have Node.js and pnpm installed in your machine
Project Structure
# GitHub
.
āāā src
ā āāā functions.ts
ā āāā index.ts
ā āāā types.ts
āāā .gitignore
āāā .npmignore
āāā biome.json
āāā package.json
āāā pnpm-lock.yaml
āāā README.md
āāā tsconfig.json
āāā tsup.config.ts
# Npm
.
āāā dist
ā āāā index.d.mts
ā āāā index.d.ts
ā āāā index.js
ā āāā index.mjs
āāā package.json
āāā README.md
Support & Contribute
If you found this project helpful or enjoyed using it, please consider giving it a āļø on GitHub! It helps others find the project and motivates us to keep improving.