cleanup typescript build output structure

This commit is contained in:
2026-07-22 00:23:20 +02:00
parent 57d63f5bf4
commit 25b2ad1b3f
33 changed files with 53 additions and 1771 deletions
+8 -3
View File
@@ -4,10 +4,15 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json"
"build": "tsc -p tsconfig.json",
"clean": "rimraf dist"
},
"files": [
"dist"
],
"devDependencies": {
"@types/node": "^26.1.1",
"typescript": "^5.7.3"
"typescript": "^5.7.3",
"rimraf": "^6.0.1"
}
}
}
+7 -3
View File
@@ -4,8 +4,8 @@
"module": "CommonJS",
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"rootDir": "src",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
@@ -14,6 +14,10 @@
]
},
"include": [
"src"
"src/**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}