Skip to content

Commit 8e73092

Browse files
author
Fletcher91
committed
Include ts files in babel builds
1 parent 58a5a66 commit 8e73092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
],
1111
"scripts": {
1212
"build": "npm run build-lib && npm run build-types",
13-
"build-lib": "babel src -d lib --source-maps",
13+
"build-lib": "babel src -d lib --source-maps --extensions '.ts,.js'",
1414
"build-types": "tsc --emitDeclarationOnly",
1515
"postversion": "git push origin master --follow-tags",
1616
"prepublishOnly": "npm run build",
1717
"standard": "standard src",
1818
"test": "npm run standard",
19-
"watch": "babel src --out-dir lib --watch --source-maps"
19+
"watch": "babel src --out-dir lib --watch --source-maps --extensions '.ts,.js'"
2020
},
2121
"repository": {
2222
"type": "git",

0 commit comments

Comments
 (0)