{"_id":"@ant-design-gj/react-native","name":"@ant-design-gj/react-native","dist-tags":{"latest":"5.3.3"},"versions":{"5.3.3":{"name":"@ant-design-gj/react-native","version":"5.3.3","description":"基于蚂蚁金服移动设计规范的 React Native 组件库","keywords":["ant","design","react","react-component","component","components","ui","framework","frontend","mobile","react native"],"repository":{"type":"git","url":"git+https://github.com/lengqingfeng/ant-design-mobile-rn.git"},"bugs":{"url":"https://github.com/lengqingfeng/ant-design-mobile-rn/issues"},"license":"MIT","main":"lib/index.js","module":"es/index.js","dependencies":{"@bang88/react-native-ultimate-listview":"^4.1.1","@floating-ui/react-native":"^0.10.6","@rc-component/mini-decimal":"^1.1.0","babel-runtime":"^6.x","classnames":"^2.2.1","dayjs":"^1.11.7","lodash.assignwith":"^4.2.0","lodash.mergewith":"^4.6.2","normalize-css-color":"^1.0.2","rc-field-form":"^2.0.0","rc-util":"^5.39.1","react-native-codegen":"^0.0.7","react-native-collapsible":"^1.6.0","react-native-modal-popover":"^2.0.1","utility-types":"^3.10.0"},"devDependencies":{"@ant-design/icons-react-native":"2.3.2","@ant-design/tools":"^17.3.0","@babel/core":"^7.12.9","@babel/runtime":"^7.12.5","@react-native-community/eslint-config":"^2.0.0","@react-navigation/native":"^6.1.1","@react-navigation/stack":"^6.3.10","@testing-library/jest-native":"^4.0.1","@testing-library/react-native":"^7.2.0","@types/jest":"^26.0.23","@types/lodash.mergewith":"^4.6.9","@types/prop-types":"^15.7.3","@types/react":"^17.0.85","@types/react-native":"^0.67.0","@typescript-eslint/parser":"^4.26.1","ant-design-palettes":"^1.1.3","antd":"3.11.1","antd-mobile-demo-data":"^0.2.0","babel-eslint":"^10.1.0","babel-jest":"^26.6.3","bisheng":"^3.1.0-beta.4","concurrently":"^4.0.1","cross-env":"^7.0.3","enquire.js":"^2.1.1","eslint":"^7.28.0","glob":"^7.1.1","jest":"^26.6.3","jsonml.js":"^0.1.0","lint-staged":"^8.0.4","metro-react-native-babel-preset":"^0.66.0","mockdate":"^2.0.1","pre-commit":"1.x","react":"17.0.2","react-copy-to-clipboard":"^5.0.0","react-document-title":"^2.0.1","react-dom":"17.0.2","react-github-button":"^0.1.9","react-intl":"^2.2.3","react-native":"0.67.5","react-native-gesture-handler":"~2.14.0","react-native-mocker":"^0.0.12","react-native-reanimated":"~3.10.1","react-native-safe-area-context":"4.2.4","react-native-screens":"^3.14.1","react-native-web":"^0.17.6","react-test-renderer":"17.0.2","shell-utils":"^1.0.10","ts-jest":"26.5.6","tslint":"^6.1.3","typescript":"~5.6.2"},"peerDependencies":{"@ant-design/icons-react-native":">= 2.3.2","react":">=17.0.1","react-native":">=0.67.5","react-native-gesture-handler":">=2.14.0","react-native-reanimated":">=3.10.1"},"scripts":{"lint":"npm run tslint && npm run srclint && npm run applint","srclint":"eslint site scripts --ext '.js,.jsx' --fix","tslint":"eslint components --fix && npm run compile && rm -rf lib","applint":"eslint rn-kitchen-sink --ext '.js' --fix","pre-publish":"npm run test:all","prepublish":"antd-tools run guard","prepare":"antd-tools run guard","prepublishOnly":"antd-tools run guard","test":"jest --config .jest.config.js","test:all":"./scripts/test-all.sh","compile":"cross-env BABEL_ENV=dist antd-tools run compile","watch-tsc":"tsc --watch","clean":"antd-tools run clean","start":"cross-env NODE_ENV=development cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js","site":"cross-env NODE_ENV=production cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js && cp CNAME _site","deploy":"npm run clean && npm run site && bisheng gh-pages --push-only","pub":"cross-env BABEL_ENV=dist antd-tools run pub","rn-start":"node scripts/start.js","ios":"concurrently \"npm run watch-tsc\" \"npm run _ios\"","android":"concurrently \"npm run watch-tsc\" \"npm run _android\"","_ios":"npx react-native run-ios --project-path rn-kitchen-sink/ios --scheme KitchenSink","_android":"react-native run-android","lint-staged":"lint-staged","lint-staged:ts":"npm run tsc && eslint components/**/*.tsx","lint-staged:es":"eslint ./.eslintrc.js","tsc":"antd-tools run tsc"},"lint-staged":{"components/**/*.tsx":["npm run lint-staged:ts"],"{tests,site,scripts,components}/**/*.{js,jsx}":["npm run lint-staged:es"]},"typings":"lib/index.d.ts","pre-commit":["lint-staged"],"resolutions":{"graceful-fs":"^4.2.4"},"gitHead":"69eb285d1b8461665f60cc70e63579913e9a9263","homepage":"https://github.com/lengqingfeng/ant-design-mobile-rn#readme","_id":"@ant-design-gj/react-native@5.3.3","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-+An/CzSMncpwLw4znT6430lRBxqtlZijvZSbtdoU1S6GuOMvSAjRKVg4/Wg8VYLt6RsAg6xd0QuIXVM4kUXg9Q==","shasum":"8c4b14c70a0e8732d91e170870f3154fbac41810","tarball":"https://registry.npmjs.org/@ant-design-gj/react-native/-/react-native-5.3.3.tgz","fileCount":1264,"unpackedSize":1579167,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCAtUALAbVDthPHzZdSwheZoE6A82bQ+WGQkLysyhvZqAIgaQ1uXk3hT+LdDJgYRyEW612GMb9ycSYZSEkU0WIe1wM="}]},"_npmUser":{"name":"allenleng","email":"379306634@qq.com"},"directories":{},"maintainers":[{"name":"allenleng","email":"379306634@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native_5.3.3_1744970941131_0.24601723235323547"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-18T10:09:01.079Z","5.3.3":"2025-04-18T10:09:01.478Z","modified":"2025-04-18T10:09:01.782Z"},"maintainers":[{"name":"allenleng","email":"379306634@qq.com"}],"description":"基于蚂蚁金服移动设计规范的 React Native 组件库","homepage":"https://github.com/lengqingfeng/ant-design-mobile-rn#readme","keywords":["ant","design","react","react-component","component","components","ui","framework","frontend","mobile","react native"],"repository":{"type":"git","url":"git+https://github.com/lengqingfeng/ant-design-mobile-rn.git"},"bugs":{"url":"https://github.com/lengqingfeng/ant-design-mobile-rn/issues"},"license":"MIT","readme":"English | [简体中文](./README.zh-CN.md)\n\n<p align=\"center\">\n  <a href=\"http://rn.mobile.ant.design\">\n    <img width=\"320\" src=\"https://zos.alipayobjects.com/rmsportal/wIjMDnsrDoPPcIV.png\">\n  </a>\n</p>\n\n# Ant Design Mobile RN\n\n[![](https://img.shields.io/travis/ant-design/ant-design-mobile-rn.svg?style=flat-square)](https://travis-ci.org/ant-design/ant-design-mobile-rn)\n[![Codecov](https://img.shields.io/codecov/c/github/ant-design/ant-design-mobile-rn.svg?style=flat-square)](https://codecov.io/gh/ant-design/ant-design-mobile-rn)\n[![npm package](https://img.shields.io/npm/v/@ant-design/react-native.svg?style=flat-square)](https://www.npmjs.org/package/@ant-design/react-native)\n[![NPM downloads](http://img.shields.io/npm/dm/@ant-design/react-native.svg?style=flat-square)](https://npmjs.org/package/@ant-design/react-native)\n[![Dependency Status](https://david-dm.org/ant-design/ant-design-mobile-rn.svg?style=flat-square)](https://david-dm.org/ant-design/ant-design-mobile-rn)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/ant-design/ant-design-mobile-rn.svg)](http://isitmaintained.com/project/ant-design/ant-design-mobile-rn 'Percentage of issues still open')\n[![Join the chat at https://gitter.im/ant-design/ant-design](https://img.shields.io/gitter/room/ant-design/ant-design.svg?style=flat-square)](https://gitter.im/ant-design/ant-design?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\nA configurable Mobile UI specification and React-based implementation.\n\n> If you only care about the style you may give [[Tanjun]](https://github.com/bang88/Tanjun) a try. \n\n## Features\n\n- Follow Ant Design Mobile UI specification.\n- Configurable UI style for different products.\n- Support web and native usages based on React Native.\n- Develop in TypeScript.\n\n## Expo\n\n> HTML5 Preview: [ant-design-mobile-rn/index.html](https://1uokun.github.io/ant-design-mobile-rn/index.html)\n\n\n|SDK 52(react-native@0.76.1)|\n|--|\n| [<img width=\"250\" alt=\"expo/ant-design-mobile-rn\" src=\"https://qr.expo.dev/eas-update?slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&groupId=1a1dbedd-d817-4dee-a5d9-1e7cc1ebe4a0&host=u.expo.dev\" />](https://expo.dev/preview/update?message=5.3.0(sdk%3A52)&updateRuntimeVersion=5.3.0&createdAt=2024-11-14T08%3A25%3A05.823Z&slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&group=1a1dbedd-d817-4dee-a5d9-1e7cc1ebe4a0) |\n\nOpen the camera app on your device and scan the code above, <br>\nneed install expo app: https://expo.io/tools\n\n<details><summary>Expo SDK(47, 49, 50, 51) history version</summary>\n\n|SDK 47 iOS|SDK 47 Android|SDK 49,50|SDK 51|\n|--|--|--|--|\n| [<img width=\"250\" alt=\"expo/ant-design-mobile-rn\" src=\"https://qr.expo.dev/eas-update?updateId=38b3a547-ab2b-4066-95ed-400f1707dcc6&appScheme=exp&host=u.expo.dev\" />](https://expo.dev/@1uokun/ant-design-mobile-rn) | [<img width=\"250\" alt=\"expo/ant-design-mobile-rn\" src=\"https://qr.expo.dev/eas-update?updateId=05f0e308-2dd5-4cb9-9e6b-1ae31561bfee&appScheme=exp&host=u.expo.dev\" />](https://expo.dev/@1uokun/ant-design-mobile-rn) | [<img width=\"250\" alt=\"expo/ant-design-mobile-rn\" src=\"https://qr.expo.dev/eas-update?slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&groupId=bbf0a647-4ff2-46bd-9aad-dfd81bc6ba08\" />](https://expo.dev/preview/update?message=5.2.2&updateRuntimeVersion=5.2.2&createdAt=2024-08-12T13%3A33%3A56.096Z&slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&group=bbf0a647-4ff2-46bd-9aad-dfd81bc6ba08) | [<img width=\"250\" alt=\"expo/ant-design-mobile-rn\" src=\"https://qr.expo.dev/eas-update?slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&groupId=cb809e16-1f0b-4f2c-9c28-417d7a67abfe&host=u.expo.dev\" />](https://expo.dev/preview/update?message=5.3.0&updateRuntimeVersion=5.3.0&createdAt=2024-11-14T07%3A33%3A14.502Z&slug=exp&projectId=7729a68b-f881-4294-89f5-5ae751bfb2b2&group=cb809e16-1f0b-4f2c-9c28-417d7a67abfe) |\n</details>\n\n\n## Install & Usage\n\n```bash\n$ npm install @ant-design/react-native @ant-design/icons-react-native\n```\n\n### Installing peer dependencies\n\nNext, install the required peer dependencies. You need to run different commands depending on whether your project is an Expo managed project or a bare React Native project.\n\n - If you have an Expo managed project, install the dependencies with `expo`:\n   ```bash\n   npx expo install react-native-gesture-handler react-native-reanimated\n   ```\n\n - If you have a bare React Native project, install the dependencies with `npm`:\n   ```bash\n   npm install react-native-gesture-handler react-native-reanimated\n   ```\n\n - For iOS with bare React Native project, make sure you have CocoaPods installed. Then install the pods to complete the installation:\n   ```bash\n   cd ios\n   pod install\n   cd ..\n   ```\n\n### Link icon fonts\n\nAdd assets to your `react-native.config.js` ( If not exist, please create in project’s root directory )\n```js\nmodule.exports = {\n  assets: ['node_modules/@ant-design/icons-react-native/fonts'],\n};\n```\nRun the [react-native-asset](https://github.com/unimonkiez/react-native-asset)'s command and linking + unlinking is automatic\n```bash\nnpx react-native-asset\n```\n\n## Links\n\n- [Home Page](http://rn.mobile.ant.design)\n- [More Introduce >](docs/react/introduce.en-US.md)\n- [Developer Instruction](development.en-US.md)\n\n## Development\n\n - **Running On Expo**\n\n> node >= 18\n\n```bash\n# go to expo example folder\ncd example\n\n# install dependencies\nyarn\n\n# start expo\nyarn expo\n```\n\n - **Running On Device**\n\n```bash\n# clone\ngit clone git@github.com:ant-design/ant-design-mobile-rn.git\n\n# go to ant rn folder\ncd ant-design-mobile-rn\n\n# install dependencies\nyarn\n\n# start ios\ncd rn-kitchen-sink/ios && pod install\nyarn ios \n\n# start android\nyarn android\n```\n\n## Contributing\n\nWe welcome all contributions, please read our [CONTRIBUTING.md](https://github.com/ant-design/ant-design-mobile-rn/blob/master/.github/CONTRIBUTING.md) first. You can submit any ideas as [pull requests](https://github.com/ant-design/ant-design-mobile-rn/pulls) or as a [GitHub issue](https://github.com/ant-design/ant-design-mobile-rn/issues). If you'd like to improve code, check out the [Development Instruction](https://github.com/ant-design/ant-design-mobile-rn/blob/master/development.en-US.md) and have a good time! :)\n\n---\n\nThanks to all the contributors of @ant-design/react-native:\n\n<a href=\"https://github.com/ant-design/ant-design-mobile-rn/graphs/contributors\">\n  <img src=\"https://opencollective.com/ant-design-mobile-rn/contributors.svg?width=960&button=false\" alt=\"contributors\" />\n</a>","readmeFilename":"README.md","_rev":"1-ab822ab6599cdeef527452e48805b550"}