Skip to content

Commit 221486b

Browse files
authored
fix: include jsx/tsx in build, fix out dir in package.json (#957)
1 parent 564e990 commit 221486b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@testing-library/react-native",
33
"version": "9.1.0",
44
"description": "Simple and complete React Native testing utilities that encourage good testing practices.",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
5+
"main": "build/index.js",
6+
"types": "build/index.d.ts",
77
"repository": {
88
"type": "git",
99
"url": "https://www.github.com/callstack/react-native-testing-library.git"
@@ -74,7 +74,7 @@
7474
"lint": "eslint src --cache",
7575
"release": "release-it",
7676
"prepublish": "yarn build",
77-
"build:js": "babel src --out-dir build --extensions \".js,.ts\" --source-maps --ignore \"**/__tests__/**\"",
77+
"build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"",
7878
"build:js:watch": "yarn build:js --watch",
7979
"build:ts": "tsc --build tsconfig.release.json",
8080
"build:ts:watch": "yarn build:ts --watch --preserveWatchOutput",

0 commit comments

Comments
 (0)