Skip to content

Commit

Permalink
fix: Images are added in the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabianurrutia committed Mar 7, 2024
1 parent dd02875 commit ffffcb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions index.ts
Expand Up @@ -13,12 +13,15 @@ import {
export {
showLocation,
getApps,
Popup,
Popup
};

export type {
GetAppsResponse,
MapId,
SharedOptions,
MapLinkOptions,
PopupStyleProp,
PopupProps,
DirectionMode,
DirectionMode
};
5 changes: 3 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-map-link",
"version": "3.0.0",
"version": "3.0.1",
"description": "Open the map app of the user's choice with a specific location.",
"source": "src/index",
"main": "lib/index.js",
Expand All @@ -9,10 +9,11 @@
"url": "git+https://github.com/includable/react-native-map-link.git"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"build": "npm run copy-images && tsc --project tsconfig.build.json",
"lint": "eslint src --max-warnings=0 && eslint tests --max-warnings=0",
"release": "semantic-release",
"test": "jest",
"copy-images": "mkdir -p ./lib/images && cp -r ./src/images ./lib",
"tscheck": "tsc --noEmit"
},
"keywords": [
Expand Down

0 comments on commit ffffcb1

Please sign in to comment.