From 8e730921733cf56432f7d4dd12a48ee83a4e6357 Mon Sep 17 00:00:00 2001 From: Fletcher91 Date: Fri, 25 Oct 2019 09:50:30 +0200 Subject: [PATCH] Include ts files in babel builds --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4315ca328..a9243495b 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,13 @@ ], "scripts": { "build": "npm run build-lib && npm run build-types", - "build-lib": "babel src -d lib --source-maps", + "build-lib": "babel src -d lib --source-maps --extensions '.ts,.js'", "build-types": "tsc --emitDeclarationOnly", "postversion": "git push origin master --follow-tags", "prepublishOnly": "npm run build", "standard": "standard src", "test": "npm run standard", - "watch": "babel src --out-dir lib --watch --source-maps" + "watch": "babel src --out-dir lib --watch --source-maps --extensions '.ts,.js'" }, "repository": { "type": "git",