@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
151 lines (150 loc) • 5.87 kB
JSON
{
"name": "@ant-design/react-native",
"version": "3.1.9",
"description": "基于蚂蚁金服移动设计规范的 React Native 组件库",
"keywords": [
"ant",
"design",
"react",
"react-component",
"component",
"components",
"ui",
"framework",
"frontend",
"mobile",
"react native"
],
"repository": {
"type": "git",
"url": "http://github.com/ant-design/ant-design-mobile-rn"
},
"bugs": {
"url": "http://github.com/ant-design/ant-design-mobile-rn/issues"
},
"files": [
"lib",
"es"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"dependencies": {
"@ant-design/icons-react-native": "^1.0.2",
"@bang88/react-native-drawer-layout": "^2.0.3",
"@bang88/react-native-ultimate-listview": "^3.3.0",
"array-tree-filter": "~2.1.0",
"babel-runtime": "^6.x",
"deepmerge": "^3.0.0",
"normalize-css-color": "^1.0.2",
"react-native-collapsible": "^1.4.0",
"react-native-modal-popover": "^0.0.12",
"react-native-safe-area-view": "^0.11.0",
"react-native-swipeout": "^2.3.6",
"utility-types": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@types/prop-types": "^15.5.7",
"@types/react": "~16.7.13",
"@types/react-native": "^0.57.15",
"ant-design-palettes": "^1.1.3",
"antd": "3.11.1",
"antd-mobile-demo-data": "^0.2.0",
"antd-tools": "^5.2.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^23.6.0",
"babel-plugin-import": "^1.6.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-react-native": "^4.0.1",
"bisheng": "^0.28.0",
"bisheng-plugin-antd": "^0.17.0",
"bisheng-plugin-description": "^0.1.1",
"bisheng-plugin-react": "^0.6.0",
"bisheng-plugin-toc": "^0.4.0",
"classnames": "^2.2.1",
"codesandbox": "^1.3.5",
"concurrently": "^4.0.1",
"cross-env": "^5.0.1",
"css-split-webpack-plugin": "^0.2.5",
"dora-plugin-upload": "^0.3.1",
"enquire.js": "^2.1.1",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.7.0",
"enzyme-to-json": "^3.3.5",
"eslint": "~4.3.0",
"eslint-config-airbnb": "~15.1.0",
"eslint-plugin-babel": "~4.1.1",
"eslint-plugin-import": "~2.7.0",
"eslint-plugin-jsx-a11y": "~6.0.2",
"eslint-plugin-markdown": "~1.0.0-beta.6",
"eslint-plugin-react": "~7.2.0",
"eslint-tinker": "~0.4.1",
"glob": "^7.1.1",
"jest": "23.6.0",
"jsonml.js": "^0.1.0",
"lint-staged": "^8.0.4",
"metro-react-native-babel-preset": "0.50.0",
"mockdate": "^2.0.1",
"pre-commit": "1.x",
"qrcode.react": "^0.8.0",
"raf": "^3.4.0",
"rc-form": "2.2.7",
"react-copy-to-clipboard": "^5.0.0",
"react-document-title": "^2.0.1",
"react-github-button": "^0.1.9",
"react-intl": "^2.2.3",
"react-native": "^0.57.7",
"react-native-mocker": "^0.0.12",
"react-navigation": "^2.18.2",
"react-test-renderer": "^16.7.0",
"regenerator-runtime": "^0.13.1",
"ts-jest": "^23.10.4",
"typescript": "^3.2.2"
},
"scripts": {
"lint": "npm run tslint && npm run srclint && npm run applint",
"srclint": "eslint site scripts --ext '.js,.jsx'",
"tslint": "antd-tools run ts-lint && npm run compile && rm -rf lib",
"tslint-fix": "antd-tools run ts-lint-fix && npm run compile && rm -rf lib",
"applint": "eslint rn-kitchen-sink --ext '.js'",
"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": "antd-tools run watch-tsc",
"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 node_modules/react-native/local-cli/cli.js start",
"ios": "concurrently \"npm run watch-tsc\" \"npm run _ios\"",
"android": "concurrently \"npm run watch-tsc\" \"npm run _android\"",
"_ios": "node node_modules/react-native/local-cli/cli.js run-ios --project-path rn-kitchen-sink/ios --scheme antd_mobile_rn",
"_android": "node node_modules/react-native/local-cli/cli.js run-android --root rn-kitchen-sink",
"build-rn-ios": "node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform ios --dev false --entry-file rn-kitchen-sink/index.ios.js --bundle-output rn-kitchen-sink/ios/bundle/index.ios.bundle --assets-dest rn-kitchen-sink/ios/bundle",
"build-rn-android": "node scripts/rn-mkdir && node node_modules/react-native/local-cli/cli.js bundle --platform android --dev false --entry-file rn-kitchen-sink/index.android.js --bundle-output rn-kitchen-sink/android/bundle/index.android.bundle --assets-dest rn-kitchen-sink/android/bundle",
"build-rn": "npm run tsc && npm run build-rn-ios && npm run build-rn-android",
"lint-staged": "lint-staged",
"lint-staged:ts": "npm run tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json 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"
]
}