UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

189 lines (188 loc) 7.39 kB
{ "name": "antd-mobile", "version": "1.4.2", "description": "基于 React 的移动设计规范实现", "homepage": "http://mobile.ant.design", "keywords": [ "ant", "design", "react", "react-component", "component", "components", "ui", "framework", "frontend" ], "repository": { "type": "git", "url": "http://github.com/ant-design/ant-design-mobile" }, "bugs": { "url": "http://github.com/ant-design/ant-design-mobile/issues" }, "files": [ "dist", "lib", "es" ], "license": "MIT", "main": "lib/warn.js", "module": "es/warn.js", "dependencies": { "array-tree-filter": "~1.0.0", "babel-runtime": "6.x", "classnames": "~2.2.1", "create-react-class": "^15.5.2", "moment": "~2.18.1", "normalize.css": "^7.0.0", "omit.js": "~1.0.0", "prop-types": "^15.5.8", "rc-checkbox": "~2.0.0", "rc-collapse": "~1.7.0", "rc-dialog": "~6.5.7", "rc-drawer": "~0.4.9", "rc-input-number": "~3.6.0", "rc-notification": "~2.0.0", "rc-slider": "~8.2.0", "rc-steps": "~2.5.1", "rc-swipeout": "~1.3.0", "rc-table": "~5.4.0", "rc-tabs": "~8.0.0", "rc-tooltip": "~3.4.3", "rc-touchable": "~1.2.2", "react-native-camera-roll-picker": "~1.1.6", "react-native-collapsible": "^0.8.0", "react-native-drawer-layout": "~1.3.0", "react-native-menu": "~0.21.0", "react-native-scrollable-tab-view": "^0.7.2", "rmc-cascader": "^4.1.1", "rmc-date-picker": "^5.3.1", "rmc-list-view": "^0.8.0", "rmc-nuka-carousel": "^2.2.0", "rmc-picker": "^3.8.0", "rn-topview": "~0.1.0", "warning": "^3.0.0" }, "devDependencies": { "@types/react": "15.0.31", "@types/react-dom": "~15.5.1", "@types/react-native": "~0.42.0", "antd": "2.x", "antd-demo-jest": "^1.3.1", "antd-mobile-demo-data": "^0.1.1", "antd-tools": "^1.6.0", "babel-eslint": "^7.1.0", "babel-jest": "^20.0.3", "babel-plugin-import": "^1.2.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-react-native": "^2.0.0", "bisheng": "^0.24.0", "bisheng-plugin-antd": "^0.15.0", "bisheng-plugin-description": "^0.1.1", "bisheng-plugin-react": "^0.5.0", "bisheng-plugin-toc": "^0.4.0", "concurrently": "^3.4.0", "cross-env": "^5.0.1", "dora-plugin-upload": "^0.3.1", "enquire.js": "^2.1.1", "enzyme": "^2.7.1", "enzyme-to-json": "^1.5.0", "eslint": "^3.0.0", "eslint-config-airbnb": "latest", "eslint-plugin-babel": "^4.0.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^5.0.1", "eslint-plugin-markdown": "~1.0.0-beta.6", "eslint-plugin-react": "^7.0.1", "eslint-tinker": "^0.4.0", "glob": "^7.1.1", "jest": "^20.0.4", "jsonml.js": "^0.1.0", "lesshint": "^3.1.1", "lint-staged": "^3.3.1", "lodash.debounce": "^4.0.6", "mockdate": "^2.0.1", "postcss-pxtorem": "^3.3.1", "pre-commit": "1.x", "qrcode.react": "^0.7.1", "rc-form": "1.x", "react": "^15.0.0", "react-copy-to-clipboard": "^5.0.0", "react-document-title": "^2.0.1", "react-dom": "^15.0.0", "react-github-button": "^0.1.9", "react-intl": "^2.2.3", "react-native": "~0.42.0", "react-native-code-push": "~1.16.0-beta", "react-native-mock": "^0.3.1", "react-navigation": "^1.0.0-beta.11", "react-test-renderer": "^15.4.2", "stylelint": "^7.12.0", "stylelint-config-standard": "^16.0.0", "svg-sprite-loader": "^0.3.1", "typescript": "~2.3.0", "typescript-babel-jest": "^1.0.1", "webpack-visualizer-plugin": "^0.1.11" }, "scripts": { "lint": "npm run tslint && npm run srclint && npm run demolint && npm run stylelint && 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", "demolint": "RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'", "stylelint": "stylelint \"{site,components}/**/*.less\" --syntax less", "stylelint-fix": "stylelint \"{site,components}/**/*.less\" --syntax less --fix", "eslint-fix": "eslint --fix site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md", "applint": "eslint rn-kitchen-sink --ext '.js'", "pre-publish": "npm run test:all && node ./scripts/build-less-entry", "prepublish": "antd-tools run guard", "prepare": "antd-tools run guard", "prepublishOnly": "antd-tools run guard", "test": "npm run test:rn && npm run test:web", "test:rn": "jest --config .jest.js", "test:web": "jest --config .jest.web.js", "test:all": "./scripts/test-all.sh", "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt", "dist": "BABEL_ENV=dist antd-tools run dist", "compile": "BABEL_ENV=dist antd-tools run compile", "watch-tsc": "antd-tools run watch-tsc", "clean": "antd-tools run clean", "start": "concurrently \"bisheng start -c ./site/bisheng.desktop.config.js --no-livereload\" \"bisheng start -c ./site/bisheng.kitchen.config.js --no-livereload\"", "site": "concurrently \"bisheng build -c ./site/bisheng.desktop.config.js\" \"bisheng build -c ./site/bisheng.kitchen.config.js\" && node scripts/copy-app-res", "analysis": "npm run dist && node ./scripts/analysis", "deploy": "npm run clean && npm run site && bisheng gh-pages --push-only", "pub": "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", "_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": "antd-tools run tsc && npm run build-rn-ios && npm run build-rn-android", "lint-staged": "lint-staged", "lint-staged:ts": "tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json components/**/*.tsx", "lint-staged:es": "eslint ./.eslintrc.js ./webpack.config.js", "lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'" }, "lint-staged": { "components/**/*.tsx": [ "lint-staged:ts" ], "{tests,site,scripts,components}/**/*.{js,jsx}": [ "lint-staged:es" ], "{site,components}/**/*.less": "stylelint --syntax less", "components/*/demo/*.md": [ "lint-staged:demo" ] }, "config": { "port": 8001 }, "typings": "lib/index.d.ts", "pre-commit": [ "lint-staged" ] }