UNPKG

@molejs/mole-components-web

Version:

React组件库

189 lines (188 loc) 7.96 kB
{ "name": "@molejs/mole-components-web", "version": "1.4.6", "description": "React组件库", "keywords": [ "react", "react-component", "component", "components", "ui", "framework", "frontend", "mobile" ], "author": { "name": "liugenpeng", "email": "liugenpeng@beisen.com" }, "files": [ "dist", "lib", "es" ], "license": "MIT", "main": "lib/index.js", "module": "es/index.js", "dependencies": { "array-tree-filter": "~2.1.0", "babel-runtime": "6.x", "classnames": "^2.2.1", "normalize.css": "^7.0.0", "rc-checkbox": "~2.0.0", "rc-collapse": "~1.7.0", "rc-drawer": "~0.4.9", "rc-slider": "~8.2.0", "rc-swipeout": "~2.0.0", "react-native-camera-roll-picker": "^1.2.1", "react-native-collapsible": "^0.9.0", "react-native-drawer-layout": "~1.3.0", "react-native-menu": "^0.23.0", "rmc-calendar": "^1.0.0", "rmc-cascader": "~5.0.0", "rmc-date-picker": "~6.0.6", "rmc-dialog": "^1.0.1", "rmc-feedback": "^1.0.0", "rmc-input-number": "^1.0.0", "rmc-list-view": "^0.11.0", "rmc-notification": "~1.0.0", "rmc-nuka-carousel": "~3.0.0", "rmc-picker": "~5.0.0", "rmc-pull-to-refresh": "~1.0.1", "rmc-steps": "~1.0.0", "rmc-tabs": "~1.2.0", "rmc-tooltip": "~1.0.0", "rn-topview": "^0.1.6", "typescript": "^3.3.3" }, "devDependencies": { "@types/classnames": "^2.2.3", "@types/node": "^11.9.4", "@types/prop-types": "^15.5.2", "@types/react": "~16.0.36", "@types/react-dom": "16.0.3", "@types/react-native": "^0.52.8", "@types/react-native-collapsible": "^0.8.0", "@types/react-native-drawer-layout": "^1.3.3", "antd": "3.x", "antd-mobile-demo-data": "^0.2.0", "antd-tools": "^4.0.2", "babel-eslint": "^7.2.3", "babel-plugin-import": "^1.6.2", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-react-native": "^1.0.0", "bisheng": "^0.28.0", "bisheng-plugin-antd": "^0.16.0", "bisheng-plugin-description": "^0.1.1", "bisheng-plugin-react": "^0.6.0", "bisheng-plugin-toc": "^0.4.0", "concurrently": "^3.4.0", "cross-env": "^5.2.0", "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.0.0", "enzyme-to-json": "^3.0.0", "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": "^21.0.0", "jsonml.js": "^0.1.0", "lesshint": "^4.0.2", "lint-staged": "^4.0.2", "lodash.debounce": "^4.0.6", "mockdate": "^2.0.1", "pre-commit": "1.x", "preact": "^8.2.6", "preact-compat": "^3.17.0", "qrcode.react": "^0.7.1", "raf": "^3.4.0", "rc-form": "1.x", "react": "^16.0.0", "react-copy-to-clipboard": "^5.0.0", "react-document-title": "^2.0.1", "react-dom": "^16.0.0", "react-github-button": "^0.1.9", "react-intl": "^2.2.3", "react-native": "~0.49.3", "react-native-code-push": "^5.1.1-beta", "react-native-mocker": "^0.0.12", "react-navigation": "1.0.0-beta.12", "react-sticky": "^6.0.1", "react-test-renderer": "^16.0.0", "shelljs": "^0.8.2", "stylelint": "^8.0.0", "stylelint-config-standard": "^17.0.0", "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": "cross-env 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'", "test": "npm run test:rn && npm run test:web", "test:rn": "jest --config .jest.native.js", "test:web": "jest --config .jest.js", "test:all": "./scripts/test-all.sh", "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt", "dist": "cross-env BABEL_ENV=dist antd-tools run dist", "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 concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js\"", "start-hd": "cross-env NODE_ENV=development concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact HD_ENV=hd bisheng start -c ./site/bisheng.kitchen.config.js\"", "start-prod": "cross-env NODE_ENV=production concurrently \"cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng start -c ./site/bisheng.kitchen.config.js\"", "site": "cross-env NODE_ENV=production concurrently \"cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js\" \"cross-env DEMO_ENV=preact bisheng build -c ./site/bisheng.kitchen.config.js\" && node scripts/copy-app-res", "site-cdn": "cdn-tools run -c ./scripts/cdn-config.js", "analysis": "npm run dist && node ./scripts/analysis", "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", "_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 ./webpack.config.js", "lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'", "tsc": "antd-tools run tsc", "release": "./bin/release.sh" }, "lint-staged": { "components/**/*.tsx": [ "lint-staged:ts" ], "{tests,site,scripts,components}/**/*.{js,jsx}": [ "lint-staged:es" ], "{site,components}/**/*.less": "stylelint", "components/*/demo/*.md": [ "lint-staged:demo" ] }, "config": { "port": 8001 }, "typings": "lib/index.d.ts", "pre-commit": [], "publishConfig": { "access": "public" }, "gitHead": "512cc34259ca122c89a4e68508bf562a794b3785" }