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/" } }