streamline build

This commit is contained in:
Darius
2025-11-18 23:42:44 +01:00
parent 55f4e90fea
commit b4d3f918c9
2 changed files with 12 additions and 11 deletions

View File

@@ -3,7 +3,8 @@
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"scripts": { "scripts": {
"build": "tsc -p tsconfig.json", "clean": "rimraf dist",
"build": "npm run clean && tsc",
"start": "node dist/index.js", "start": "node dist/index.js",
"dev": "tsx watch src/index.ts" "dev": "tsx watch src/index.ts"
}, },

View File

@@ -1,19 +1,19 @@
{ {
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "ES2022",
"moduleResolution": "Node", "lib": ["ES2022"],
"strict": true, "types": ["node"],
"esModuleInterop": true, "declaration": true,
"forceConsistentCasingInFileNames": true, "declarationMap": true,
"skipLibCheck": true,
"isolatedModules": true,
"resolveJsonModule": true,
"outDir": "./dist", "outDir": "./dist",
"rootDir": "./src", "rootDir": "./src",
"types": ["node"], "strict": true,
"incremental": true "esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": ["node_modules", "dist"] "exclude": ["node_modules", "dist"]