Files
self/packages/mobile-sdk-demo/package.json
Justin Hernandez c55112d1e0 chore: add polish to the mobile demo app (#1135)
* Improve demo app safe area handling

* refactor: centralize mobile demo screen navigation

* update lock

* update podfile lock

* fix pipelines

* fix tests

* save wip polish

* polish app

* simplify and standardize screens

* small fixes

* fix tests

* Use SDK SelfClientProvider in demo (#1162)

* fix types

* Fix mobile SDK demo Jest mock

* force react-native-svg to 15.12.1

* fix tests

* add types script

* fix document list

* fix types and metro config

* add ignore files to speed up watchman and eslint

* save wip tweaks

* save mock doc screen wip

* use persistant document store

* save polish work in progress

* add polish to screens

* save wip secure storage

* allow cursor to examine react configs

* convert tests to vitest and fix

* fix tests

* prettier

* cr feedback

* fix tests and remove skipped
2025-10-01 00:16:34 -07:00

77 lines
2.8 KiB
JSON

{
"name": "mobile-sdk-demo",
"version": "0.0.1",
"private": true,
"main": "index.js",
"scripts": {
"analyze:bundle:android": "yarn prebuild && node scripts/bundle-analyze-ci.cjs android",
"analyze:bundle:ios": "yarn prebuild && node scripts/bundle-analyze-ci.cjs ios",
"preandroid": "yarn prebuild",
"android": "react-native run-android --verbose",
"prebuild": "yarn workspace @selfxyz/mobile-sdk-alpha build",
"build": "tsc -p tsconfig.json --noEmit --pretty false",
"clean": "rm -rf ios/build android/app/build android/build && cd android && ./gradlew clean && cd ..",
"format": "prettier --write .",
"ia": "yarn install-app",
"install-app": "yarn install && yarn prebuild && cd ios && pod install && cd ..",
"preios": "yarn prebuild",
"ios": "react-native run-ios",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"nice": "yarn lint:fix && yarn format",
"reinstall": "yarn clean && yarn install && yarn prebuild && cd ios && pod install && cd ..",
"start": "react-native start",
"test": "vitest run",
"test:watch": "vitest",
"types": "tsc --noEmit"
},
"dependencies": {
"@babel/runtime": "^7.28.3",
"@faker-js/faker": "^10.0.0",
"@noble/hashes": "^1.5.0",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-picker/picker": "^2.11.1",
"@react-native/gradle-plugin": "0.76.9",
"@selfxyz/common": "workspace:*",
"@selfxyz/mobile-sdk-alpha": "workspace:*",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"constants-browserify": "^1.0.0",
"ethers": "^6.11.0",
"find-yarn-workspace-root": "^2.0.0",
"react": "^18.3.1",
"react-native": "0.76.9",
"react-native-get-random-values": "^1.11.0",
"react-native-keychain": "^10.0.0",
"react-native-safe-area-context": "^5.6.1",
"react-native-svg": "^15.13.0",
"react-native-vector-icons": "^10.3.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5"
},
"devDependencies": {
"@babel/core": "^7.28.3",
"@react-native-community/cli": "^16.0.3",
"@react-native/metro-config": "0.76.9",
"@tsconfig/react-native": "^3.0.6",
"@types/react": "^18.3.4",
"@types/react-native-vector-icons": "^6.4.18",
"@typescript-eslint/eslint-plugin": "^8.44.0",
"@typescript-eslint/parser": "^8.44.0",
"@vitest/ui": "^2.1.8",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-exports": "^0.9.1",
"jsdom": "^25.0.1",
"metro-react-native-babel-preset": "0.76.9",
"prettier": "^3.6.2",
"react-native-svg-transformer": "^1.5.1",
"typescript": "^5.9.2",
"vitest": "^2.1.8"
}
}