Skip to content

Commit

Permalink
build scripts n stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
0xStrobe committed May 26, 2023
1 parent 05568a1 commit 06fa68b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.env
dist
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "tsc",
"start": "node dist/app.js"
},
"keywords": [],
"author": "strobie",
Expand Down
8 changes: 5 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
"skipLibCheck": true,
"jsx": "preserve",

"module": "esnext",
"target": "esnext"
"module": "CommonJS",
"target": "esnext",
"outDir": "dist"
},
"include": ["src"]
"include": ["src"],
"exclude": ["node_modules", "dist"]
}

0 comments on commit 06fa68b

Please sign in to comment.