Skip to content

Commit 19662b2

Browse files
committed
ts compilation
1 parent 0efbc21 commit 19662b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"types": "lib/index.d.ts",
5959
"scripts": {
6060
"prepublishOnly": "npm run compile",
61-
"compile": "babel ./src --out-dir lib --delete-dir-on-start --ignore 'src/**/*.spec.ts'",
61+
"compile": "babel ./src --extensions '.ts,.tsx,.js' --out-dir lib --delete-dir-on-start --ignore 'src/**/*.spec.ts'",
6262
"compile:watch": "npm run compile -- -w",
6363
"test": "jest",
6464
"lint": "eslint '**/*.{js,ts,tsx}' --quiet"

0 commit comments

Comments
 (0)