Skip to content

Commit

Permalink
Seperate build and start command, generate sourcemap (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar1jn authored Nov 1, 2023
1 parent 99ebc6c commit 43960c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"outDir": "lib"
"outDir": "lib",
"sourceMap": true
},
"include": ["src/**/*"],
}

0 comments on commit 43960c7

Please sign in to comment.