Skip to content

Commit

Permalink
Build the app for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Dec 4, 2023
1 parent 8e5d43c commit 71b2ccb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/dist/
/node_modules/
/.env
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist/
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.PHONY: check fix format lint start typecheck
.PHONY: build check fix format lint start typecheck

node_modules: package.json package-lock.json
npm install
touch node_modules

build: node_modules
npx tsc --project tsconfig.build.json

check: format lint typecheck

fix: node_modules
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"sourceMap": true,
"outDir": "dist"
},
"include": ["src"]
}

0 comments on commit 71b2ccb

Please sign in to comment.