UNPKG

7.96 kBJSONView Raw
1{
2 "name": "@molejs/mole-components-web",
3 "version": "1.3.10",
4 "description": "React组件库",
5 "keywords": [
6 "react",
7 "react-component",
8 "component",
9 "components",
10 "ui",
11 "framework",
12 "frontend",
13 "mobile"
14 ],
15 "author": {
16 "name": "liugenpeng",
17 "email": "liugenpeng@beisen.com"
18 },
19 "files": [
20 "dist",
21 "lib",
22 "es"
23 ],
24 "license": "MIT",
25 "main": "lib/index.js",
26 "module": "es/index.js",
27 "dependencies": {
28 "array-tree-filter": "~2.1.0",
29 "babel-runtime": "6.x",
30 "classnames": "^2.2.1",
31 "normalize.css": "^7.0.0",
32 "rc-checkbox": "~2.0.0",
33 "rc-collapse": "~1.7.0",
34 "rc-drawer": "~0.4.9",
35 "rc-slider": "~8.2.0",
36 "rc-swipeout": "~2.0.0",
37 "react-native-camera-roll-picker": "^1.2.1",
38 "react-native-collapsible": "^0.9.0",
39 "react-native-drawer-layout": "~1.3.0",
40 "react-native-menu": "^0.23.0",
41 "rmc-calendar": "^1.0.0",
42 "rmc-cascader": "~5.0.0",
43 "rmc-date-picker": "~6.0.6",
44 "rmc-dialog": "^1.0.1",
45 "rmc-feedback": "^1.0.0",
46 "rmc-input-number": "^1.0.0",
47 "rmc-list-view": "^0.11.0",
48 "rmc-notification": "~1.0.0",
49 "rmc-nuka-carousel": "~3.0.0",
50 "rmc-picker": "~5.0.0",
51 "rmc-pull-to-refresh": "~1.0.1",
52 "rmc-steps": "~1.0.0",
53 "rmc-tabs": "~1.2.0",
54 "rmc-tooltip": "~1.0.0",
55 "rn-topview": "^0.1.6",
56 "typescript": "^3.3.3"
57 },
58 "devDependencies": {
59 "@types/classnames": "^2.2.3",
60 "@types/node": "^11.9.4",
61 "@types/prop-types": "^15.5.2",
62 "@types/react": "~16.0.36",
63 "@types/react-dom": "16.0.3",
64 "@types/react-native": "^0.52.8",
65 "@types/react-native-collapsible": "^0.8.0",
66 "@types/react-native-drawer-layout": "^1.3.3",
67 "antd": "3.x",
68 "antd-mobile-demo-data": "^0.2.0",
69 "antd-tools": "^4.0.2",
70 "babel-eslint": "^7.2.3",
71 "babel-plugin-import": "^1.6.2",
72 "babel-plugin-transform-runtime": "^6.23.0",
73 "babel-preset-react-native": "^1.0.0",
74 "bisheng": "^0.28.0",
75 "bisheng-plugin-antd": "^0.16.0",
76 "bisheng-plugin-description": "^0.1.1",
77 "bisheng-plugin-react": "^0.6.0",
78 "bisheng-plugin-toc": "^0.4.0",
79 "concurrently": "^3.4.0",
80 "cross-env": "^5.2.0",
81 "css-split-webpack-plugin": "^0.2.5",
82 "dora-plugin-upload": "^0.3.1",
83 "enquire.js": "^2.1.1",
84 "enzyme": "^3.0.0",
85 "enzyme-adapter-react-16": "^1.0.0",
86 "enzyme-to-json": "^3.0.0",
87 "eslint": "~4.3.0",
88 "eslint-config-airbnb": "~15.1.0",
89 "eslint-plugin-babel": "~4.1.1",
90 "eslint-plugin-import": "~2.7.0",
91 "eslint-plugin-jsx-a11y": "~6.0.2",
92 "eslint-plugin-markdown": "~1.0.0-beta.6",
93 "eslint-plugin-react": "~7.2.0",
94 "eslint-tinker": "~0.4.1",
95 "glob": "^7.1.1",
96 "jest": "^21.0.0",
97 "jsonml.js": "^0.1.0",
98 "lesshint": "^4.0.2",
99 "lint-staged": "^4.0.2",
100 "lodash.debounce": "^4.0.6",
101 "mockdate": "^2.0.1",
102 "pre-commit": "1.x",
103 "preact": "^8.2.6",
104 "preact-compat": "^3.17.0",
105 "qrcode.react": "^0.7.1",
106 "raf": "^3.4.0",
107 "rc-form": "1.x",
108 "react": "^16.0.0",
109 "react-copy-to-clipboard": "^5.0.0",
110 "react-document-title": "^2.0.1",
111 "react-dom": "^16.0.0",
112 "react-github-button": "^0.1.9",
113 "react-intl": "^2.2.3",
114 "react-native": "~0.49.3",
115 "react-native-code-push": "^5.1.1-beta",
116 "react-native-mocker": "^0.0.12",
117 "react-navigation": "1.0.0-beta.12",
118 "react-sticky": "^6.0.1",
119 "react-test-renderer": "^16.0.0",
120 "shelljs": "^0.8.2",
121 "stylelint": "^8.0.0",
122 "stylelint-config-standard": "^17.0.0",
123 "webpack-visualizer-plugin": "^0.1.11"
124 },
125 "scripts": {
126 "lint": "npm run tslint && npm run srclint && npm run demolint && npm run stylelint && npm run applint",
127 "srclint": "eslint site scripts --ext '.js,.jsx'",
128 "tslint": "antd-tools run ts-lint && npm run compile && rm -rf lib",
129 "tslint-fix": "antd-tools run ts-lint-fix && npm run compile && rm -rf lib",
130 "demolint": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
131 "stylelint": "stylelint \"{site,components}/**/*.less\" --syntax less",
132 "stylelint-fix": "stylelint \"{site,components}/**/*.less\" --syntax less --fix",
133 "eslint-fix": "eslint --fix site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
134 "applint": "eslint rn-kitchen-sink --ext '.js'",
135 "test": "npm run test:rn && npm run test:web",
136 "test:rn": "jest --config .jest.native.js",
137 "test:web": "jest --config .jest.js",
138 "test:all": "./scripts/test-all.sh",
139 "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt",
140 "dist": "cross-env BABEL_ENV=dist antd-tools run dist",
141 "compile": "cross-env BABEL_ENV=dist antd-tools run compile",
142 "watch-tsc": "antd-tools run watch-tsc",
143 "clean": "antd-tools run clean",
144 "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\"",
145 "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\"",
146 "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\"",
147 "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",
148 "site-cdn": "cdn-tools run -c ./scripts/cdn-config.js",
149 "analysis": "npm run dist && node ./scripts/analysis",
150 "deploy": "npm run clean && npm run site && bisheng gh-pages --push-only",
151 "pub": "cross-env BABEL_ENV=dist antd-tools run pub",
152 "rn-start": "node node_modules/react-native/local-cli/cli.js start",
153 "ios": "concurrently \"npm run watch-tsc\" \"npm run _ios\"",
154 "android": "concurrently \"npm run watch-tsc\" \"npm run _android\"",
155 "_ios": "node node_modules/react-native/local-cli/cli.js run-ios --project-path rn-kitchen-sink/ios",
156 "_android": "node node_modules/react-native/local-cli/cli.js run-android --root rn-kitchen-sink",
157 "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",
158 "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",
159 "build-rn": "npm run tsc && npm run build-rn-ios && npm run build-rn-android",
160 "lint-staged": "lint-staged",
161 "lint-staged:ts": "npm run tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json components/**/*.tsx",
162 "lint-staged:es": "eslint ./.eslintrc.js ./webpack.config.js",
163 "lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'",
164 "tsc": "antd-tools run tsc",
165 "release": "./bin/release.sh"
166 },
167 "lint-staged": {
168 "components/**/*.tsx": [
169 "lint-staged:ts"
170 ],
171 "{tests,site,scripts,components}/**/*.{js,jsx}": [
172 "lint-staged:es"
173 ],
174 "{site,components}/**/*.less": "stylelint",
175 "components/*/demo/*.md": [
176 "lint-staged:demo"
177 ]
178 },
179 "config": {
180 "port": 8001
181 },
182 "typings": "lib/index.d.ts",
183 "pre-commit": [],
184 "publishConfig": {
185 "access": "public"
186 },
187 "gitHead": "84f26cb938902d969834ef52989107831b844bcb"
188}