diff --git a/.eslintignore b/.eslintignore index e69de29..178135c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -0,0 +1 @@ +/dist/ diff --git a/.gitignore b/.gitignore index 66ee735..bf2b2e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +/dist/ /node_modules/ /.env diff --git a/.prettierignore b/.prettierignore index e69de29..178135c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -0,0 +1 @@ +/dist/ diff --git a/Makefile b/Makefile index b8a9623..1e3a9d4 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..1fd2d16 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "sourceMap": true, + "outDir": "dist" + }, + "include": ["src"] +}