From 636254ab6e721f216d2cffcd5d62bd0278c5f32d Mon Sep 17 00:00:00 2001 From: khai96_ Date: Fri, 8 May 2020 10:22:09 +0700 Subject: [PATCH] Add TypeScript build step --- .gitignore | 1 + package.json | 3 +++ tsconfig.json | 1 + 3 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index eb03e3e..37e10ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules *.log +/dist/tsc diff --git a/package.json b/package.json index 98e34d9..5607207 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,8 @@ { "private": true, + "scripts": { + "build:typescript": "tsc" + }, "dependencies": { "download": "^8.0.0", "@actions/core": "^1.2.4", diff --git a/tsconfig.json b/tsconfig.json index 36e8eb6..0f323f6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ "ES2020", "ESNext" ], + "outDir": "./dist/tsc", "preserveConstEnums": true, "incremental": false, "declaration": true,