forked from ant-design/ant-design-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
184 lines (184 loc) · 6.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "antd-mobile",
"version": "1.1.0",
"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"
],
"license": "MIT",
"main": "lib/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": "^6.0.0",
"nuka-carousel": "~2.0.4",
"object-assign": "~4.1.0",
"omit.js": "~0.1.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.4.13",
"rc-notification": "~1.4.1",
"rc-slider": "~7.0.1",
"rc-steps": "~2.5.1",
"rc-swipeout": "~1.2.4",
"rc-table": "~5.3.1",
"rc-tabs": "~7.3.1",
"rc-tooltip": "~3.4.3",
"rc-touchable": "~1.0.11",
"react-native-camera-roll-picker": "~1.1.6",
"react-native-collapsible": "^0.8.0",
"react-native-drawer-layout": "~1.1.1",
"react-native-menu": "~0.20.1",
"react-native-scrollable-tab-view": "^0.7.2",
"rmc-cascader": "^4.1.1",
"rmc-date-picker": "^5.3.1",
"rmc-list-view": "^0.7.4",
"rmc-picker": "^3.8.0",
"rn-topview": "~0.1.0"
},
"devDependencies": {
"@types/react": "15.0.21",
"@types/react-dom": "~15.5.0",
"@types/react-native": "~0.42.0",
"antd": "2.x",
"antd-demo-jest": "^1.2.0",
"antd-mobile-demo-data": "^0.1.1",
"antd-tools": "^0.19.8",
"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-plugin-import": "^1.1.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-react-native": "^1.9.1",
"bisheng": "^0.22.0",
"bisheng-plugin-antd": "^0.12.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": "^4.0.0",
"dora-plugin-upload": "^0.3.1",
"enquire.js": "^2.1.1",
"enzyme": "^2.7.1",
"enzyme-to-json": "^1.5.0",
"eslint": "^3.3.1",
"eslint-config-airbnb": "latest",
"eslint-plugin-babel": "^4.0.0",
"eslint-plugin-import": "^2.1.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-markdown": "1.0.0-beta.4",
"eslint-plugin-react": "^6.10.3",
"eslint-tinker": "^0.4.0",
"glob": "^7.1.1",
"jest": "^19.0.2",
"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.6.1",
"rc-form": "1.x",
"react": "^15.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-native-router-flux": "~3.37.0",
"react-test-renderer": "^15.4.2",
"svg-sprite-loader": "^0.3.0",
"typescript": "~2.2.2",
"typescript-babel-jest": "^1.0.1"
},
"scripts": {
"lint": "npm run tslint && npm run srclint && npm run demolint && npm run lesshint && 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'",
"lesshint": "lesshint components/ -r scripts/lesshint-report.js",
"eslint-fix": "eslint --fix site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"applint": "eslint rn-kitchen-sink --ext '.js'",
"pre-publish": "node ./scripts/build-less-entry",
"prepublish": "antd-tools run guard",
"test": "npm run test:rn && npm run test:web",
"test:rn": "jest --config .jest.json",
"test:web": "jest --config .jest.web.json",
"authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' > AUTHORS.txt",
"dist": "antd-tools run dist",
"build": "npm run dist",
"compile": "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\"",
"demo": "bisheng start -c ./site/bisheng.kitchen.config.js",
"site": "concurrently \"bisheng build -c ./site/bisheng.desktop.config.js\" \"bisheng build -c ./site/bisheng.kitchen.config.js\" && node scripts/copy-app-res",
"pc": "bisheng start -c ./site/bisheng.desktop.config.js",
"mobile": "bisheng start -c ./site/bisheng.kitchen.config.js",
"just-deploy": "npm run clean && npm run site && bisheng gh-pages --push-only",
"deploy": "npm run clean && npm run site && bisheng gh-pages --push-only",
"pub": "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",
"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"
],
"components/*/demo/*.md": [
"lint-staged:demo"
]
},
"tnpm": {
"mode": "yarn"
},
"config": {
"port": 8001
},
"typings": "lib/index.web.d.ts",
"pre-commit": [
"lint-staged"
]
}