diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac28434..434896b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: - run: npm ci - name: Build package - run: npm run prepare + run: npm run build build-web: runs-on: ubuntu-latest diff --git a/example/package.json b/example/package.json index 4bcc42f..c30f439 100644 --- a/example/package.json +++ b/example/package.json @@ -1,7 +1,7 @@ { "name": "@sellpy/react-native-scroll-anchor-example", "version": "1.0.0", - "main": "node_modules/expo/AppEntry.js", + "main": "./App.js", "scripts": { "start": "expo start", "android": "expo start --android", @@ -18,9 +18,11 @@ }, "devDependencies": { "@babel/core": "^7.20.0", - "@expo/webpack-config": "^18.0.1", + "@expo/webpack-config": "^19.0.1", + "@types/react": "^18.2.75", "babel-loader": "^8.1.0", - "babel-plugin-module-resolver": "^5.0.0" + "babel-plugin-module-resolver": "^5.0.0", + "typescript": "^5.4.5" }, "private": true }