Add proper exports and npmignore for npm publishing

This commit is contained in:
2026-01-17 23:13:24 +03:00
parent 6e0787a2d6
commit f7c9818625
2 changed files with 71 additions and 1 deletions
+38
View File
@@ -0,0 +1,38 @@
# Dependencies
node_modules/
# Source files (not needed in npm package)
src/
*.ts
!*.d.ts
# Config files
tsconfig.json
tsconfig.build.json
.gitignore
.editorconfig
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Git
.git/
.github/
# Misc
.env
.env.local