Skip to content

Commit

Permalink
Typecheck tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 2, 2020
1 parent 4325e46 commit 526a9e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -5,8 +5,8 @@ else
/ := /
endif

build: clean # builds the production version
@node_modules$/.bin$/tsc -p .
build: # builds the production version
@node_modules$/.bin$/tsc -p tsconfig-build.json

clean: # removes all build artifacts
@rm -rf dist
Expand Down
4 changes: 4 additions & 0 deletions tsconfig-build.json
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["./test/**/*.ts"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
@@ -1,5 +1,5 @@
{
"include": ["src/*.ts"],
"include": ["src/*.ts", "test/**/*.ts"],
"compilerOptions": {
/* Basic Options */
"target": "es2016" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
Expand Down

0 comments on commit 526a9e7

Please sign in to comment.