From c5a735212df8283c3f97a610907bd5b85c8daa3b Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Mon, 16 Jul 2018 11:46:35 +0530 Subject: [PATCH] fix(cli): make cli load .ts extensions --- bin/cli | 1 + package.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/cli b/bin/cli index c9819a9..b9f7135 100755 --- a/bin/cli +++ b/bin/cli @@ -1,2 +1,3 @@ #!/usr/bin/env node +require('ts-node').register({}) require('../src/cli.js') diff --git a/package.json b/package.json index abd3b4c..504afab 100644 --- a/package.json +++ b/package.json @@ -40,15 +40,15 @@ "prettier": "^1.13.7", "semantic-release": "^15.7.1", "travis-deploy-once": "^5.0.1", - "ts-node": "^7.0.0", "typescript": "^2.9.2" }, "dependencies": { "@types/fs-extra": "^5.0.4", "@types/yargs": "^11.1.0", "chalk": "^2.4.1", + "debug": "^3.1.0", "fs-extra": "^6.0.1", - "yargs": "^12.0.1", - "debug": "^3.1.0" + "ts-node": "^7.0.0", + "yargs": "^12.0.1" } }