Skip to content

Commit

Permalink
Remove exports, add subdir package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-gonet committed Dec 28, 2020
1 parent 85ca6ed commit 314bb40
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 0 additions & 2 deletions DrawerLayout.ts

This file was deleted.

5 changes: 5 additions & 0 deletions DrawerLayout/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"main": "../dist/src/components/DrawerLayout",
"react-native": "../dist/src/components/DrawerLayout",
"types": "../DrawerLayout.d.ts"
}
2 changes: 0 additions & 2 deletions Swipeable.ts

This file was deleted.

5 changes: 5 additions & 0 deletions Swipeable/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"main": "../dist/src/components/Swipeable",
"react-native": "../dist/src/components/Swipeable",
"types": "../Swipeable.d.ts"
}
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
"ts-check": "yarn tsc --noEmit",
"lint-check": "yarn eslint src/ && yarn prettier --check src/"
},
"exports": {
".": "./dist/index.js",
"./": "./dist/",
"./package.json": "./package.json",
"./RNGestureHandler.podspec": "./RNGestureHandler.podspec"
},
"main": "dist/index.js",
"types": "react-native-gesture-handler.d.ts",
"files": [
Expand All @@ -30,7 +24,9 @@
"dist/",
"!dist/examples",
"index.ts",
"Swipeable/",
"Swipeable.d.ts",
"DrawerLayout/",
"DrawerLayout.d.ts",
"README.md",
"jestSetup.js",
Expand Down

0 comments on commit 314bb40

Please sign in to comment.