From 558a42b7c226e3109b16f8de1b2c65dff2d853f9 Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 16 May 2023 19:30:11 -0300 Subject: [PATCH] compile ts --- package.json | 6 ++++-- tsconfig.json | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0b798f6..275dd18 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,11 @@ "name": "@nulo/isogit-lfs", "version": "0.2.7", "description": "LFS helpers for Isomorphic Git", - "main": "src/index.ts", + "main": "dist/index.js", "repository": "git@github.com:riboseinc/isogit-lfs.git", - "scripts": {}, + "scripts": { + "prepublish": "tsc" + }, "author": { "name": "Ribose Inc.", "email": "open.source@ribose.com" diff --git a/tsconfig.json b/tsconfig.json index 591ef71..6a7ebc7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,6 @@ "moduleResolution": "node", "strict": true, - "noUnusedLocals": true, "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, @@ -17,6 +16,8 @@ "newLine": "lf", - "declaration": true + "declaration": true, + + "outDir": "dist/" } }