Skip to content

Commit

Permalink
project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
HubertRyanOfficial committed Nov 28, 2022
1 parent 45e8b64 commit d879914
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/src
/tsconfig.json
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "between-pages",
"version": "1.0.2",
"description": "A library to help you animate and improve the user experience when is moved between pages with animations on react native apps.",
"main": "dist/src/",
"types": "dist/@types/index.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "npx tsc --build",
"clean": "npx tsc --build --clean",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { BetweenPagesProvider } from "./core";
import { useBetweenPages, BetweenTypes } from "./native";

export { BetweenPagesProvider, useBetweenPages, BetweenTypes };

0 comments on commit d879914

Please sign in to comment.