diff --git a/package.json b/package.json index 99bb83d..7a5b9b4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "main": "lib/app.js", "type": "module", "scripts": { - "start": "tsc && node .", + "build": "tsc", + "start": "node .", + "dev": "tsc && node .", "preinstall": "npx only-allow pnpm" }, "engines": { diff --git a/tsconfig.json b/tsconfig.json index 915e43f..be21eb1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "moduleResolution": "node", - "outDir": "lib" + "outDir": "lib", + "sourceMap": true }, "include": ["src/**/*"], }