chore: final adjustments for npm publication

This commit is contained in:
M1000fr
2026-01-12 13:23:12 +01:00
parent 3b3f64bb35
commit 4cf1bd3b4c
6 changed files with 219 additions and 13 deletions

View File

@@ -2,10 +2,22 @@
"name": "@alveojs/common",
"version": "0.0.1",
"description": "Common types, decorators and interfaces for Alveo DI container",
"module": "src/index.ts",
"types": "src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"type": "module",
"private": true,
"private": false,
"peerDependencies": {
"reflect-metadata": "^0.2.2",
"typescript": "^5"
@@ -15,9 +27,11 @@
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/bun": "latest"
"@types/bun": "latest",
"typescript": "^5.0.0"
},
"scripts": {
"build": "rm -rf dist && bun build ./src/index.ts --outfile ./dist/index.mjs && bun build ./src/index.ts --outfile ./dist/index.js && tsc --project tsconfig.build.json",
"format": "biome format",
"lint": "biome lint",
"typecheck": "tsc --noEmit"